summaryrefslogtreecommitdiff
path: root/Lib/sysconfig.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-05-25 18:21:43 +0200
committerÉric Araujo <merwok@netwok.org>2011-05-25 18:21:43 +0200
commit211a269bb3cb37dca3cfabcc854e9e46db9a823f (patch)
tree77c0f74245320122b1f546ab99849a1b4db9846c /Lib/sysconfig.py
parentc07534d4748367de740ec3f55b0f760acda39544 (diff)
downloadcpython-211a269bb3cb37dca3cfabcc854e9e46db9a823f.tar.gz
Minor cleanup in sysconfig.
Also remove outdated and unhelpful docstrings in test_sysconfig.
Diffstat (limited to 'Lib/sysconfig.py')
-rw-r--r--Lib/sysconfig.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
index 4c1fd1bf2d..59073f481f 100644
--- a/Lib/sysconfig.py
+++ b/Lib/sysconfig.py
@@ -656,11 +656,10 @@ def get_platform():
# to. This makes the compatibility story a bit more sane because the
# machine is going to compile and link as if it were
# MACOSX_DEPLOYMENT_TARGET.
- #
cfgvars = get_config_vars()
macver = cfgvars.get('MACOSX_DEPLOYMENT_TARGET')
- if 1:
+ if True:
# Always calculate the release of the running machine,
# needed to determine if we can build fat binaries or not.
@@ -755,7 +754,7 @@ def _main():
print('Platform: "%s"' % get_platform())
print('Python version: "%s"' % get_python_version())
print('Current installation scheme: "%s"' % _get_default_scheme())
- print('')
+ print()
_print_dict('Paths', get_paths())
print()
_print_dict('Variables', get_config_vars())