Title: Cannot access nested class · Issue #259 · python/mypy · GitHub
Open Graph Title: Cannot access nested class · Issue #259 · python/mypy
X Title: Cannot access nested class · Issue #259 · python/mypy
Description: The type checker complains about the self.B() call in the program below: class A: class B: pass def f(self) -> None: self.B()
Open Graph Description: The type checker complains about the self.B() call in the program below: class A: class B: pass def f(self) -> None: self.B()
X Description: The type checker complains about the self.B() call in the program below: class A: class B: pass def f(self) -> None: self.B()
Opengraph URL: https://github.com/python/mypy/issues/259
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot access nested class","articleBody":"The type checker complains about the `self.B()` call in the program below:\n\n```\nclass A:\n class B: pass\n def f(self) -> None:\n self.B()\n```\n","author":{"url":"https://github.com/JukkaL","@type":"Person","name":"JukkaL"},"datePublished":"2013-09-21T14:56:47Z","url":"https://github.com/python/mypy/issues/259"}
| 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:d3947d02-7e4b-40d9-be14-c4714618ea5b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B3C0:DD1C:2AF3336:3A9F6B1:6B0056C5 |
| html-safe-nonce | 812a266064a163471cde53e029ddb2cc8c749160a33e14096c0e71020022eb93 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0MwOkREMUM6MkFGMzMzNjozQTlGNkIxOjZCMDA1NkM1IiwidmlzaXRvcl9pZCI6IjY4MzE5Mjc4MjcyNjEwNTI2MTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9238ed99d2b3964f481238052cc7bc6fcd88c186f9c8c72c598154bf0bfa556b |
| hovercard-subject-tag | issue:19857676 |
| 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/mypy/259/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b2faa32ccfda20fd457993d793c73b9a9903b00ec3789dd257b0e11b1e041b1d/python/mypy/issues/259 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b2faa32ccfda20fd457993d793c73b9a9903b00ec3789dd257b0e11b1e041b1d/python/mypy/issues/259 |
| og:image:alt | The type checker complains about the self.B() call in the program below: class A: class B: pass def f(self) -> None: self.B() |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JukkaL |
| hostname | github.com |
| expected-hostname | github.com |
| None | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| 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 | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width