Reword the doc string

This commit is contained in:
Frost Ming 2021-12-21 16:42:15 +08:00 committed by Frost Ming
parent 70369f4f2d
commit 4e10647999
No known key found for this signature in database
GPG key ID: 5BFA9CB4DDA943BF

View file

@ -1400,8 +1400,8 @@ def __repr__(self):
class Namespace(_AttributeHolder):
"""Simple object for storing attributes.
Default values are stored in a dict name `__defaults__` so they won't mess
with the given values.
Default values are stored in a dict named `__defaults__` so they won't
override the given values.
Implements equality by attribute names and values, and provides a simple
string representation.