Skip to content

Commit bca564d

Browse files
committed
Merge branch 'copy_module_frozendict' of github.com:eendebakpt/cpython into copy_module_frozendict
2 parents d3ee7d1 + b0729ae commit bca564d

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Lib/test/test_copy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def test_deepcopy_dict(self):
426426
self.assertIsNot(x["foo"], y["foo"])
427427

428428
def test_deepcopy_frozendict(self):
429-
x = {"foo": [1, 2], "bar": 3}
429+
x = frozendict({"foo": [1, 2], "bar": 3})
430430
y = copy.deepcopy(x)
431431
self.assertEqual(y, x)
432432
self.assertIsNot(x, y)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
The :mod:`copy` module now supports the :class:`frozendict` type. Patch by
2+
Pieter Eendebak based on work by Victor Stinner.

0 commit comments

Comments
 (0)