mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
Minor cleanup in sysconfig.
Also remove outdated and unhelpful docstrings in test_sysconfig.
This commit is contained in:
parent
9bcfacd4fc
commit
559b5f1ca0
2 changed files with 2 additions and 18 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue