Skip to content

Commit 7d6d8a4

Browse files
Bug fixes in the RST
1 parent 69e45a5 commit 7d6d8a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

peps/pep-0795.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ itself during initialisation.
903903
904904
905905
Accessing subclass information and subclassing immutable classes
906-
================================================================
906+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
907907

908908
When a class object becomes immutable, its base classes
909909
replace their interpreter-local registry of mutable
@@ -1201,7 +1201,7 @@ immutable, code must explicitly make it so, through a ``@frozen``
12011201
decorator at definition-time, or through an explicit call to ``freeze()``
12021202
on the type object itself. By using ``@freezable`` a declaration opts
12031203
in to being frozen as a side-effect of freezing an instance.
1204-
(A call to `set_freezable(cls, Yes)` has the same effect).
1204+
(A call to ``set_freezable(cls, Yes)`` has the same effect).
12051205
This serves as documentation similar to the ``const`` propagation
12061206
above, even though -- as Python is a dynamically checked language --
12071207
this ``const``-like propagation will be driven by run-time errors

0 commit comments

Comments
 (0)