mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
sysconfig.get_scheme_names now returns a sorted tuple
This commit is contained in:
parent
cc11817808
commit
e81b0289b6
2 changed files with 10 additions and 2 deletions
|
@ -343,7 +343,9 @@ def get_config_h_filename():
|
|||
|
||||
def get_scheme_names():
|
||||
"""Returns a tuple containing the schemes names."""
|
||||
return _INSTALL_SCHEMES.keys()
|
||||
schemes = _INSTALL_SCHEMES.keys()
|
||||
schemes.sort()
|
||||
return tuple(schemes)
|
||||
|
||||
def get_path_names():
|
||||
"""Returns a tuple containing the paths names."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue