'The module name.
>>> from jedi import Script
>>> source = \'import json\'
>>> script = Script(source, path=\'example.py\')
>>> d = script.goto_definitions()[0]
>>> print(d.module_name)                       # doctest: +ELLIPSIS
json'

@property
def module_name(self):

    return self._module.name.string_name
