mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-06 09:50:28 +00:00
get_exports_list should return list
This commit is contained in:
parent
1999f5e3b3
commit
0dfba85bfe
1 changed files with 1 additions and 1 deletions
2
third_party/python/Lib/os.py
vendored
2
third_party/python/Lib/os.py
vendored
|
@ -38,7 +38,7 @@ def _exists(name):
|
|||
return name in globals()
|
||||
|
||||
def _get_exports_list(module):
|
||||
return getattr(module, "__all__", (n for n in dir(module) if n[0] != '_'))
|
||||
return list(getattr(module, "__all__", (n for n in dir(module) if n[0] != '_')))
|
||||
|
||||
name = 'posix'
|
||||
linesep = '\n'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue