Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7ebadd5

Browse files
committed
Use correct directive to document one method
1 parent 643cb73 commit 7ebadd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/collections.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The class can be used to simulate nested scopes and is useful in templating.
8383
creating subcontexts that can be updated without altering values in any
8484
of the parent mappings.
8585

86-
.. attribute:: parents()
86+
.. method:: parents()
8787

8888
Returns a new :class:`ChainMap` containing all of the maps in the current
8989
instance except the first one. This is useful for skipping the first map

0 commit comments

Comments
 (0)