Commit 51d6b865 authored by Stefan Behnel's avatar Stefan Behnel

new test for __name__ in modules

parent e8a2ab2c
module_name = __name__
def in_module():
"""
>>> print(in_module())
mod__name__
"""
return module_name
def in_function():
"""
>>> print(in_function())
mod__name__
"""
return __name__
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment