diff options
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 |
commit | 559b5f1ca0a5dec9d485f01895b61e3d7da5075c (patch) | |
tree | 38a5b204b085405cf8862c9750cb672a6c6cf166 /Lib/sysconfig.py | |
parent | 9bcfacd4fcf64ee7f6e0d05b5d0894c10cd43fc0 (diff) | |
download | cpython-git-559b5f1ca0a5dec9d485f01895b61e3d7da5075c.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.py | 5 |
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()) |