Title: Clarify __lazy_import__ docstring in bltinmodule.c · Issue #161715 · python/cpython · GitHub
Open Graph Title: Clarify __lazy_import__ docstring in bltinmodule.c · Issue #161715 · python/cpython
X Title: Clarify __lazy_import__ docstring in bltinmodule.c · Issue #161715 · python/cpython
Description: Documentation Docstring is currently: /*[clinic input] __lazy_import__ as builtin___lazy_import__ name: object globals: object(c_default="NULL") = None locals: object(c_default="NULL") = None fromlist: object(c_default="NULL") = () level...
Open Graph Description: Documentation Docstring is currently: /*[clinic input] __lazy_import__ as builtin___lazy_import__ name: object globals: object(c_default="NULL") = None locals: object(c_default="NULL") = None froml...
X Description: Documentation Docstring is currently: /*[clinic input] __lazy_import__ as builtin___lazy_import__ name: object globals: object(c_default="NULL") = None locals: object(c_default="NULL...
Opengraph URL: https://github.com/python/cpython/issues/161715
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Clarify __lazy_import__ docstring in bltinmodule.c","articleBody":"### Documentation\n\nDocstring is currently:\n\n```c\n/*[clinic input]\n__lazy_import__ as builtin___lazy_import__\n\n name: object\n globals: object(c_default=\"NULL\") = None\n locals: object(c_default=\"NULL\") = None\n fromlist: object(c_default=\"NULL\") = ()\n level: int = 0\n\nLazily imports a module.\n\nReturns either the module to be imported or a imp.lazy_module object\nwhich indicates the module to be lazily imported.\n[clinic start generated code]*/\n```\n\nShould change because:\n- what is `imp.lazy_module`? should be `types.LazyImportType`\n- it's not `to be [lazily] imported`, it's `[lazily] imported`.\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-161716\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/JadenV15","@type":"Person","name":"JadenV15"},"datePublished":"2026-11-09T23:43:16Z","url":"https://github.com/python/cpython/issues/161715"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:755dc759-d9f0-a1f2-9e6e-bf03dc97252e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED2E:21DFED:13619B:18B11C:6B01EF09 |
| html-safe-nonce | efc8c9c250f4ba78db538ff1e3466c1d7011878eeeea3889d5ab7280183cc16b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDJFOjIxREZFRDoxMzYxOUI6MThCMTFDOjZCMDFFRjA5IiwidmlzaXRvcl9pZCI6IjY4MTM3OTA5NzkyMzQwNjYxODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a2e12b97ee6bba988d2f112f5d6dc3c3c6b65e5810b362f068bb503f97bddd07 |
| hovercard-subject-tag | issue:6296987069 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/161715/issue_layout |
| twitter:image | https://opengraph.githubassets.com/244dd667bd9fa73b45f2b78ec7e76eaaaea59db30cc787428089766fbe26928e/python/cpython/issues/161715 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/244dd667bd9fa73b45f2b78ec7e76eaaaea59db30cc787428089766fbe26928e/python/cpython/issues/161715 |
| og:image:alt | Documentation Docstring is currently: /*[clinic input] __lazy_import__ as builtin___lazy_import__ name: object globals: object(c_default="NULL") = None locals: object(c_default="NULL") = None froml... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JadenV15 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width