New submission from Brett Cannon <br...@python.org>:
Since importlib now prefers `__spec__` over `__package__`, https://docs.python.org/3/library/importlib.html#importlib.util.resolve_name should be updated to use `__spec__.parent` instead in the. example. ---------- assignee: brett.cannon components: Documentation keywords: easy messages: 384238 nosy: brett.cannon priority: low severity: normal stage: needs patch status: open title: Update docs for importlib.util.resolve_name() to use __spec__ instead of __package__ versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42811> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com