Skip to content

Commit 114ffb5

Browse files
committed
Document PyFrozenSet_New() optimization
1 parent 5b07811 commit 114ffb5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/c-api/dict.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,10 @@ Frozen dictionary objects
542542
543543
Create an empty dictionary if *iterable* is ``NULL``.
544544
545+
.. impl-detail::
546+
If *iterable* is a :class:`frozendict`, but not a :class:`frozendict`
547+
subclass, return the same object unmodified.
548+
545549
546550
Ordered dictionaries
547551
^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)