Why not just import the module they're defined in and then just do attribute access syntax?
from mod.modb.dtx import somemod somemod.SomeError _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/2ANGDC6RQ25YT3CAFZVE7XFO3MQSLS7D/ Code of Conduct: http://python.org/psf/codeofconduct/
