diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2023-09-10 05:09:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-10 05:09:25 (GMT) |
commit | 92578919a60ebe2b8d6d42377f1e27479c156d65 (patch) | |
tree | 39e90cc7a5130e034130e23ff01b34a855626411 /Doc/library/types.rst | |
parent | 0eab2427b149cd46e0dee3efbb6b2cfca2a4f723 (diff) | |
download | cpython-92578919a60ebe2b8d6d42377f1e27479c156d65.zip cpython-92578919a60ebe2b8d6d42377f1e27479c156d65.tar.gz cpython-92578919a60ebe2b8d6d42377f1e27479c156d65.tar.bz2 |
gh-109174: Add support of SimpleNamespace in copy.replace() (GH-109175)
Diffstat (limited to 'Doc/library/types.rst')
-rw-r--r-- | Doc/library/types.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/types.rst b/Doc/library/types.rst index 82300af..875916b 100644 --- a/Doc/library/types.rst +++ b/Doc/library/types.rst @@ -504,6 +504,8 @@ Additional Utility Classes and Functions However, for a structured record type use :func:`~collections.namedtuple` instead. + :class:`!SimpleNamespace` objects are supported by :func:`copy.replace`. + .. versionadded:: 3.3 .. versionchanged:: 3.9 |