mod__name__.pyx 225 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

module_name = __name__

def in_module():
    """
    >>> print(in_module())
    mod__name__
    """
    return module_name

def in_function():
    """
    >>> print(in_function())
    mod__name__
    """
    return __name__