Missed a ref to the old API in PEP 422
This commit is contained in:
parent
f6cc8f4a1f
commit
fe1f501b5a
|
@ -148,7 +148,7 @@ function as a ``namespace`` keyword-only argument. If present, the value
|
|||
provided as the ``namespace`` argument will be called without arguments
|
||||
to create the result of ``type.__prepare__`` instead of using a freshly
|
||||
created dictionary instance. For example, the following will use
|
||||
the ordered dictionary created in the header as the class namespace::
|
||||
an ordered dictionary as the class namespace::
|
||||
|
||||
class OrderedExample(namespace=collections.OrderedDict):
|
||||
def __init_class__(cls):
|
||||
|
|
Loading…
Reference in New Issue