mirror of
https://github.com/python/cpython.git
synced 2025-11-02 22:51:25 +00:00
Standardize whitespace in function calls and docstrings.
This commit is contained in:
parent
39d59b47b7
commit
fd7b91eff9
1 changed files with 62 additions and 62 deletions
|
|
@ -822,8 +822,8 @@ def announce (self, msg, level=1):
|
||||||
def run_commands (self):
|
def run_commands (self):
|
||||||
"""Run each command that was seen on the setup script command line.
|
"""Run each command that was seen on the setup script command line.
|
||||||
Uses the list of commands found and cache of command objects
|
Uses the list of commands found and cache of command objects
|
||||||
created by 'get_command_obj()'."""
|
created by 'get_command_obj()'.
|
||||||
|
"""
|
||||||
for cmd in self.commands:
|
for cmd in self.commands:
|
||||||
self.run_command(cmd)
|
self.run_command(cmd)
|
||||||
|
|
||||||
|
|
@ -838,7 +838,6 @@ def run_command (self, command):
|
||||||
doesn't even have a command object yet, create one. Then invoke
|
doesn't even have a command object yet, create one. Then invoke
|
||||||
'run()' on that command object (or an existing one).
|
'run()' on that command object (or an existing one).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Already been here, done that? then return silently.
|
# Already been here, done that? then return silently.
|
||||||
if self.have_run.get(command):
|
if self.have_run.get(command):
|
||||||
return
|
return
|
||||||
|
|
@ -890,7 +889,8 @@ def is_pure (self):
|
||||||
|
|
||||||
class DistributionMetadata:
|
class DistributionMetadata:
|
||||||
"""Dummy class to hold the distribution meta-data: name, version,
|
"""Dummy class to hold the distribution meta-data: name, version,
|
||||||
author, and so forth."""
|
author, and so forth.
|
||||||
|
"""
|
||||||
|
|
||||||
def __init__ (self):
|
def __init__ (self):
|
||||||
self.name = None
|
self.name = None
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue