https://github.com/python/cpython/commit/4616116fc0349a76667856a0f09f8af678594fa1
commit: 4616116fc0349a76667856a0f09f8af678594fa1
branch: main
author: Victorien <[email protected]>
committer: encukou <[email protected]>
date: 2026-09-10T13:34:18Z
summary:
gh-142349: Document `LazyImportType.resolve()` method (GH-156936)
files:
M Doc/library/types.rst
diff --git a/Doc/library/types.rst b/Doc/library/types.rst
index 38a77119769d72..9e928e6dd3637b 100644
--- a/Doc/library/types.rst
+++ b/Doc/library/types.rst
@@ -354,6 +354,10 @@ Standard names are defined for the following types:
.. seealso:: :pep:`810`
+ .. method:: resolve()
+
+ Reify the lazy import and return the "real" object being imported.
+
.. class:: GetSetDescriptorType
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]