Title: bpo-38603: Inherit docstrings in dynamically generated subclasses if possible by anntzer · Pull Request #16957 · python/cpython · GitHub
Open Graph Title: bpo-38603: Inherit docstrings in dynamically generated subclasses if possible by anntzer · Pull Request #16957 · python/cpython
X Title: bpo-38603: Inherit docstrings in dynamically generated subclasses if possible by anntzer · Pull Request #16957 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Currently, inspect.getdoc() fails to inherit docstrings in dynamically generated subclasses, such as class Base: def method(self): "some docstring" def make_subclass(): class sub...
X Description: Currently, inspect.getdoc() fails to inherit docstrings in dynamically generated subclasses, such as class Base: def method(self): "some docstring" def make_subclass(): c...
Opengraph URL: https://github.com/python/cpython/pull/16957
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:b031c9fc-fa1f-58c2-5808-ef9caf5c5ce4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AEB0:2DCEA7:22DBA6E:2EDB6B0:6A5387B3 |
| html-safe-nonce | cb9d56b12691549aa0be9df9af5aee9b98fa3378596cc4b8a19bf0dcdae30380 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUIwOjJEQ0VBNzoyMkRCQTZFOjJFREI2QjA6NkE1Mzg3QjMiLCJ2aXNpdG9yX2lkIjoiMjUzOTExOTIxMTg3NzQ2ODA4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 36b245876c63fa0e44e22655424cbdd1f513b6f3157d7f6e3ad3c1b2946af94c |
| hovercard-subject-tag | pull_request:332865687 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python/cpython/pull/16957/commits |
| twitter:image | https://opengraph.githubassets.com/7baaa6d954e9d3174f9101f0f29be2b623b9e58f0f00abf0b52824d9442b1adf/python/cpython/pull/16957 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7baaa6d954e9d3174f9101f0f29be2b623b9e58f0f00abf0b52824d9442b1adf/python/cpython/pull/16957 |
| og:image:alt | Currently, inspect.getdoc() fails to inherit docstrings in dynamically generated subclasses, such as class Base: def method(self): "some docstring" def make_subclass(): class sub... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width