mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Follow PEP 8 in module docstring.
This commit is contained in:
parent
fa13b5e28b
commit
4a11a06d12
1 changed files with 5 additions and 5 deletions
|
@ -28,17 +28,17 @@ Generate Plist example:
|
||||||
pl = dict(
|
pl = dict(
|
||||||
aString="Doodah",
|
aString="Doodah",
|
||||||
aList=["A", "B", 12, 32.1, [1, 2, 3]],
|
aList=["A", "B", 12, 32.1, [1, 2, 3]],
|
||||||
aFloat = 0.1,
|
aFloat=0.1,
|
||||||
anInt = 728,
|
anInt=728,
|
||||||
aDict=dict(
|
aDict=dict(
|
||||||
anotherString="<hello & hi there!>",
|
anotherString="<hello & hi there!>",
|
||||||
aUnicodeValue=u'M\xe4ssig, Ma\xdf',
|
aUnicodeValue=u'M\xe4ssig, Ma\xdf',
|
||||||
aTrueValue=True,
|
aTrueValue=True,
|
||||||
aFalseValue=False,
|
aFalseValue=False,
|
||||||
),
|
),
|
||||||
someData = Data("<binary gunk>"),
|
someData=Data("<binary gunk>"),
|
||||||
someMoreData = Data("<lots of binary gunk>" * 10),
|
someMoreData=Data("<lots of binary gunk>" * 10),
|
||||||
aDate = datetime.datetime.fromtimestamp(time.mktime(time.gmtime())),
|
aDate=datetime.datetime.fromtimestamp(time.mktime(time.gmtime())),
|
||||||
)
|
)
|
||||||
# unicode keys are possible, but a little awkward to use:
|
# unicode keys are possible, but a little awkward to use:
|
||||||
pl[u'\xc5benraa'] = "That was a unicode key."
|
pl[u'\xc5benraa'] = "That was a unicode key."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue