Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Commit d828544

Browse files
committed
PEP-8 Nazi
(should I follow the Google 2-space or PEP 4-space?)
1 parent 330676c commit d828544

1 file changed

Lines changed: 25 additions & 24 deletions

File tree

lib/sys.py

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
argv = []
2323
for arg in Args:
24-
argv.append(arg)
24+
argv.append(arg)
2525

2626
goversion = Version()
2727
maxint = MaxInt
@@ -34,35 +34,36 @@
3434
byteorder = 'little'
3535

3636
class _Flags(object):
37-
"""Container class for sys.flags."""
38-
debug = 0
39-
py3k_warning = 0
40-
division_warning = 0
41-
division_new = 0
42-
inspect = 0
43-
interactive = 0
44-
optimize = 0
45-
dont_write_bytecode = 0
46-
no_user_site = 0
47-
no_site = 0
48-
ignore_environment = 0
49-
tabcheck = 0
50-
verbose = 0
51-
unicode = 0
52-
bytes_warning = 0
53-
hash_randomization = 0
37+
"""Container class for sys.flags."""
38+
debug = 0
39+
py3k_warning = 0
40+
division_warning = 0
41+
division_new = 0
42+
inspect = 0
43+
interactive = 0
44+
optimize = 0
45+
dont_write_bytecode = 0
46+
no_user_site = 0
47+
no_site = 0
48+
ignore_environment = 0
49+
tabcheck = 0
50+
verbose = 0
51+
unicode = 0
52+
bytes_warning = 0
53+
hash_randomization = 0
5454

5555

5656
flags = _Flags()
5757

5858

5959
def exc_info():
60-
e, tb = __frame__().__exc_info__() # pylint: disable=undefined-variable
61-
t = None
62-
if e:
63-
t = type(e)
64-
return t, e, tb
60+
e, tb = __frame__().__exc_info__() # pylint: disable=undefined-variable
61+
t = None
62+
if e:
63+
t = type(e)
64+
return t, e, tb
6565

6666

6767
def exit(code=None): # pylint: disable=redefined-builtin
68-
raise SystemExit(code)
68+
raise SystemExit(code)
69+

0 commit comments

Comments
 (0)