mirror of https://github.com/python/cpython
Another fix.
This commit is contained in:
parent
4e37c66262
commit
1699db145f
|
@ -63,7 +63,7 @@ support weak references but can add support through subclassing::
|
|||
class Dict(dict):
|
||||
pass
|
||||
|
||||
obj = Dict(red=1, green=2, blue=3) # this object is weak referencable
|
||||
obj = Dict(red=1, green=2, blue=3) # this object is weak referenceable
|
||||
|
||||
Extension types can easily be made to support weak references; see
|
||||
:ref:`weakref-support`.
|
||||
|
|
Loading…
Reference in New Issue