PythonMonkey v0.9.1 (dev)
|
Public Member Functions | |
__enter__ (self) | |
__exit__ (self, errType, errValue, traceback) | |
WTFPythonMonkey to use as a Python context manager (`with`-statement) Usage: ```py from pythonmonkey.lib.wtfpm import WTF with WTF(): # the main entry point for the program utilizes PythonMonkey event-loop asyncio.run(pythonmonkey_main()) ```
wtfpm.WTF.__enter__ | ( | self | ) |
wtfpm.WTF.__exit__ | ( | self, | |
errType, | |||
errValue, | |||
traceback | |||
) |