(module)
| 42 | return name in globals() |
| 43 | |
| 44 | def _get_exports_list(module): |
| 45 | try: |
| 46 | return list(module.__all__) |
| 47 | except AttributeError: |
| 48 | return [n for n in dir(module) if n[0] != '_'] |
| 49 | |
| 50 | # Any new dependencies of the os module and/or changes in path separator |
| 51 | # requires updating importlib as well. |