Add mfpl.g
This commit is contained in:
parent
98bfb665c3
commit
ef4df61d44
|
@ -29,6 +29,7 @@ def docode(st,name = "Unknown"):
|
|||
glb[distro + "l"].sd = pUp(name)
|
||||
except Exception:
|
||||
pass
|
||||
glb[distro + "l"].g = glb
|
||||
exec(code,glb)
|
||||
return glb
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ The initialization works like this:
|
|||
Provides the following mfpl.* (local to current script):
|
||||
* s: The script's full path.
|
||||
* sd: The script's full directory.
|
||||
* g: The script's global as a Bunch.
|
||||
|
||||
Provides the following mfp.* (global to all scripts):
|
||||
* s: The main script's full path.
|
||||
|
|
Loading…
Reference in New Issue