Fix typo in collections.rst (#27270)

This commit is contained in:
Elliot Waite 2021-07-22 00:31:22 -07:00 committed by GitHub
parent c878f5d817
commit 92a5c0871b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1209,7 +1209,7 @@ attribute.
regular dictionary, which is accessible via the :attr:`data` attribute of regular dictionary, which is accessible via the :attr:`data` attribute of
:class:`UserDict` instances. If *initialdata* is provided, :attr:`data` is :class:`UserDict` instances. If *initialdata* is provided, :attr:`data` is
initialized with its contents; note that a reference to *initialdata* will not initialized with its contents; note that a reference to *initialdata* will not
be kept, allowing it be used for other purposes. be kept, allowing it to be used for other purposes.
In addition to supporting the methods and operations of mappings, In addition to supporting the methods and operations of mappings,
:class:`UserDict` instances provide the following attribute: :class:`UserDict` instances provide the following attribute: