%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/sympy/utilities/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/sympy/utilities/magic.py

"""Functions that involve magic. """

def pollute(names, objects):
    """Pollute the global namespace with symbols -> objects mapping. """
    from inspect import currentframe
    frame = currentframe().f_back.f_back

    try:
        for name, obj in zip(names, objects):
            frame.f_globals[name] = obj
    finally:
        del frame  # break cyclic dependencies as stated in inspect docs

Zerion Mini Shell 1.0