GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
Functions | |
def | reimport |
Variables | |
reload = reload | |
def go4py.internals.reimport.reimport | ( | modulename | ) |
Reloads modulename if it was imported before, imports it otherwise. Workaround for some implications of the otherwise very useful fact that TPython's interpreter state is preserved in between calls: Assume a main script and a library module. Once the script has imported the library, changes to the library are not considered anymore. A cached version is used instead. To see changes a reload is necessary. This function should simply do the right thing...
Definition at line 21 of file reimport.py.
References go4py.internals.reimport.reload.
go4py.internals.reimport.reload = reload |
Definition at line 9 of file reimport.py.
Referenced by go4py.internals.reimport.reimport().