mirror of
https://github.com/python/cpython.git
synced 2025-09-18 22:50:26 +00:00
Normalized a few cases of whitespace in function declarations.
Found them using:: find . -name '*.py' | while read i ; do grep 'def[^(]*( ' $i /dev/null ; done find . -name '*.py' | while read i ; do grep ' ):' $i /dev/null ; done (I was doing this all over my own code anyway, because I'd been using spaces in all defs, so I thought I'd make a run on the Python code as well. If you need to do such fixes in your own code, you can use xx-rename or parenregu.el within emacs.)
This commit is contained in:
parent
07347d6efc
commit
215f13dd11
10 changed files with 49 additions and 49 deletions
|
@ -390,7 +390,7 @@ test_classes.append(test_gettempdir)
|
||||||
class test_mkstemp(TC):
|
class test_mkstemp(TC):
|
||||||
"""Test mkstemp()."""
|
"""Test mkstemp()."""
|
||||||
|
|
||||||
def do_create(self, dir=None, pre="", suf="", ):
|
def do_create(self, dir=None, pre="", suf=""):
|
||||||
if dir is None:
|
if dir is None:
|
||||||
dir = tempfile.gettempdir()
|
dir = tempfile.gettempdir()
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue