Skip to content

Commit aac08e8

Browse files
committed
Don't use frozendict for the only example
1 parent bdc34d2 commit aac08e8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Doc/library/plistlib.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,12 @@ Generating a plist::
183183
import datetime
184184
import plistlib
185185

186-
pl = frozendict(
186+
pl = dict(
187187
aString = "Doodah",
188188
aList = ["A", "B", 12, 32.1, [1, 2, 3]],
189189
aFloat = 0.1,
190190
anInt = 728,
191-
aDict = frozendict(
191+
aDict = dict(
192192
anotherString = "<hello & hi there!>",
193193
aThirdString = "M\xe4ssig, Ma\xdf",
194194
aTrueValue = True,

Lib/plistlib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
import datetime
2525
import plistlib
2626
27-
pl = frozendict(
27+
pl = dict(
2828
aString = "Doodah",
2929
aList = ["A", "B", 12, 32.1, [1, 2, 3]],
3030
aFloat = 0.1,
3131
anInt = 728,
32-
aDict = frozendict(
32+
aDict = dict(
3333
anotherString = "<hello & hi there!>",
3434
aThirdString = "M\xe4ssig, Ma\xdf",
3535
aTrueValue = True,

0 commit comments

Comments
 (0)