(moduleIdentifier: str)
| 425 | |
| 426 | |
| 427 | def require(moduleIdentifier: str): |
| 428 | filename = inspect.stack()[1].filename |
| 429 | if not os.path.exists(filename): |
| 430 | filename = os.path.join(os.getcwd(), "__main_virtual__") |
| 431 | return createRequire(filename)(moduleIdentifier) |
| 432 | |
| 433 | |
| 434 | # Restrict what symbols are exposed to the pythonmonkey module. |
no test coverage detected