diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 6c9b1e58f92..39a03dd988e 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -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