safeGlobals — Phatch v0.2 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Phatch v0.2 documentation »
- core »

# safeGlobals

`core.safeGlobals.` `add_dictionary`(namespace, dictionary)

`core.safeGlobals.` `add_module`(namespace, module)

  Add module dictionary to the `namespace`. This is the equivalent for:

      from module import *

  This used for the GLOBALS variable.

  Parameters: | namespace (dict) – namespace module_dict (module) – module

`core.safeGlobals.` `allow`(key)

`core.safeGlobals.` `safe_globals`()

### Navigation

- index
- modules |
- next |
- previous |
- Phatch v0.2 documentation »
- core »