summaryrefslogtreecommitdiffstats
path: root/Lib/tempfile.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-12-26 13:06:29 (GMT)
committerGuido van Rossum <guido@python.org>1991-12-26 13:06:29 (GMT)
commitce08448165249b8be2181f231178db52504e2b01 (patch)
tree65e19b98f946c41b91c720f84ceb5a901fa44ea7 /Lib/tempfile.py
parentdecc4b99e136000e4f03df676ff672c0eccafd3c (diff)
downloadcpython-ce08448165249b8be2181f231178db52504e2b01.zip
cpython-ce08448165249b8be2181f231178db52504e2b01.tar.gz
cpython-ce08448165249b8be2181f231178db52504e2b01.tar.bz2
New class syntax.
Diffstat (limited to 'Lib/tempfile.py')
-rw-r--r--Lib/tempfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py
index 02e73e1..f4a9d4b 100644
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -13,7 +13,7 @@ template = '@'
# Kludge to hold mutable state
-class Struct(): pass
+class Struct: pass
G = Struct()
G.i = 0