]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Follow PEP 8 in module docstring.
authorWalter Dörwald <walter@livinglogic.de>
Mon, 21 Jan 2008 20:18:04 +0000 (20:18 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Mon, 21 Jan 2008 20:18:04 +0000 (20:18 +0000)
Lib/plistlib.py

index 5e107b6633e4dc8e637eb3a18e2b07cfadfd5dc4..0ce533333430d1141951d6a215a0991ab3f684d9 100644 (file)
@@ -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."