diff options
author | Walter Dörwald <walter@livinglogic.de> | 2008-01-21 20:18:04 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2008-01-21 20:18:04 (GMT) |
commit | 4a11a06d12aa328164b3aa58860faec929ba60b0 (patch) | |
tree | 7d9e64d159c9001b85db67ad575e1afabf0adf4e /Lib/plistlib.py | |
parent | fa13b5e28bcd547f6856ba31fd4a8b3ad4990d45 (diff) | |
download | cpython-4a11a06d12aa328164b3aa58860faec929ba60b0.zip cpython-4a11a06d12aa328164b3aa58860faec929ba60b0.tar.gz cpython-4a11a06d12aa328164b3aa58860faec929ba60b0.tar.bz2 |
Follow PEP 8 in module docstring.
Diffstat (limited to 'Lib/plistlib.py')
-rw-r--r-- | Lib/plistlib.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/plistlib.py b/Lib/plistlib.py index 5e107b6..0ce5333 100644 --- a/Lib/plistlib.py +++ b/Lib/plistlib.py @@ -28,17 +28,17 @@ Generate Plist example: pl = dict( aString="Doodah", aList=["A", "B", 12, 32.1, [1, 2, 3]], - aFloat = 0.1, - anInt = 728, + aFloat=0.1, + anInt=728, aDict=dict( anotherString="<hello & hi there!>", aUnicodeValue=u'M\xe4ssig, Ma\xdf', aTrueValue=True, aFalseValue=False, ), - someData = Data("<binary gunk>"), - someMoreData = Data("<lots of binary gunk>" * 10), - aDate = datetime.datetime.fromtimestamp(time.mktime(time.gmtime())), + someData=Data("<binary gunk>"), + someMoreData=Data("<lots of binary gunk>" * 10), + aDate=datetime.datetime.fromtimestamp(time.mktime(time.gmtime())), ) # unicode keys are possible, but a little awkward to use: pl[u'\xc5benraa'] = "That was a unicode key." |