mirror of
https://github.com/python/cpython.git
synced 2026-03-30 08:30:57 +00:00
Use correct directive to document one method
This commit is contained in:
parent
643cb7345f
commit
7ebadd5d8d
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ The class can be used to simulate nested scopes and is useful in templating.
|
|||
creating subcontexts that can be updated without altering values in any
|
||||
of the parent mappings.
|
||||
|
||||
.. attribute:: parents()
|
||||
.. method:: parents()
|
||||
|
||||
Returns a new :class:`ChainMap` containing all of the maps in the current
|
||||
instance except the first one. This is useful for skipping the first map
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue