Skip to content

Commit e8f6d57

Browse files
committed
Format
1 parent ad76c42 commit e8f6d57

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎run_doctest.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ def main():
1313
name = os.path.basename(sys.argv[0])
1414
if '__loader__' in globals(): # python -m
1515
name, _ = os.path.splitext(name)
16-
print("usage: {0} [-v] file ...".format(name))
16+
print('usage: {0} [-v] file ...'.format(name))
1717
return 2
1818

1919
optionflags = doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE
2020

2121
for filename in testfiles:
22-
if filename.endswith(".py"):
22+
if filename.endswith('.py'):
2323
# It is a module -- insert its dir into sys.path and try to
2424
# import it. If it is part of a package, that possibly
2525
# won't work because of package imports.
@@ -36,5 +36,5 @@ def main():
3636
return 0
3737

3838

39-
if __name__ == "__main__":
39+
if __name__ == '__main__':
4040
sys.exit(main())

‎setup.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class RawConfigParser(RawConfigParser, MutableMapping):
3535
class Section(MutableMapping):
3636

3737
"""A single section from a parser."""
38+
3839
def __init__(self, config, section):
3940
self.config = config
4041
self.section = section

0 commit comments

Comments
 (0)