File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,8 @@ Construction
8080* ``frozendict(collection, **kwargs) `` combines the two previous
8181 constructions.
8282
83- Keys must be hashable and so immutable, but values can be mutable.
84- Using immutable values creates a hashtable ``frozendict ``.
83+ Keys must be hashable and therefore immutable, but values can be mutable.
84+ Using immutable values creates a hashable ``frozendict ``.
8585
8686Creating a ``frozendict `` from a ``dict ``, ``frozendict(dict) ``, has a
8787complexity of *O *\ (*n *): items are copied (shallow copy).
@@ -164,7 +164,7 @@ See also :pep:`584` "Add Union Operators To dict".
164164Copy
165165----
166166
167- ``frozencopy .copy() `` returns a shallow copy. In CPython, it simply
167+ ``frozendict .copy() `` returns a shallow copy. In CPython, it simply
168168returns the same ``frozendict `` (new reference).
169169
170170Use ``copy.deepcopy() `` to get a deep copy.
You can’t perform that action at this time.
0 commit comments