Title: There is a typo in docstring for read method of _io.TextIOWrapper class · Issue #101228 · python/cpython · GitHub
Open Graph Title: There is a typo in docstring for read method of _io.TextIOWrapper class · Issue #101228 · python/cpython
X Title: There is a typo in docstring for read method of _io.TextIOWrapper class · Issue #101228 · python/cpython
Description: Documentation The docstring of the read method of _io.TextIOWrapper class has a typo. The argument name size is not used in the explanation. >>> file = open("/tmp/junk") >>> help(file.read) read(size=-1, /) method of _io.TextIOWrapper in...
Open Graph Description: Documentation The docstring of the read method of _io.TextIOWrapper class has a typo. The argument name size is not used in the explanation. >>> file = open("/tmp/junk") >>> help(file.read) read(si...
X Description: Documentation The docstring of the read method of _io.TextIOWrapper class has a typo. The argument name size is not used in the explanation. >>> file = open("/tmp/junk") >>...
Opengraph URL: https://github.com/python/cpython/issues/101228
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"There is a typo in docstring for read method of _io.TextIOWrapper class","articleBody":"# Documentation\r\n\r\nThe docstring of the read method of `_io.TextIOWrapper` class has a typo.\r\nThe argument name `size `is not used in the explanation.\r\n```\r\n\u003e\u003e\u003e file = open(\"/tmp/junk\")\r\n\u003e\u003e\u003e help(file.read)\r\n\r\nread(size=-1, /) method of _io.TextIOWrapper instance\r\n Read at most n characters from stream.\r\n \r\n Read from underlying buffer until we have n characters or we hit EOF.\r\n If n is negative or omitted, read until EOF.\r\n```\r\n\r\n\r\n\r\n\u003c!-- gh-linked-prs --\u003e\r\n### Linked PRs\r\n* gh-101227\r\n\u003c!-- /gh-linked-prs --\u003e\r\n","author":{"url":"https://github.com/ppmfloss","@type":"Person","name":"ppmfloss"},"datePublished":"2023-01-22T00:55:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/101228/cpython/issues/101228"}
| 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:806c3980-9759-4e7d-f1f9-7a282876de1f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 878E:21E6C4:579CA1:7A4DBC:696A24F6 |
| html-safe-nonce | edc90b756b69974202ec72f76f4fe1ff1467d104eae9062390fd00552f47a24d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzhFOjIxRTZDNDo1NzlDQTE6N0E0REJDOjY5NkEyNEY2IiwidmlzaXRvcl9pZCI6IjYxNDY2NTU2NDYxNDk5MTE3OTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d20fb753a83839022c44a281ece4d6d04e6498cd2847d01f7b79638ea1793e40 |
| hovercard-subject-tag | issue:1551966369 |
| 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/101228/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b7945136aea6eadaecccabcc470bcd9f44c1c33540201b18fef8946f226c4ca3/python/cpython/issues/101228 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b7945136aea6eadaecccabcc470bcd9f44c1c33540201b18fef8946f226c4ca3/python/cpython/issues/101228 |
| og:image:alt | Documentation The docstring of the read method of _io.TextIOWrapper class has a typo. The argument name size is not used in the explanation. >>> file = open("/tmp/junk") >>> help(file.read) read(si... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ppmfloss |
| hostname | github.com |
| expected-hostname | github.com |
| None | a1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569 |
| 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 | f472b8e6c7b3fdd5d0354972a3f4c516289bf0be |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width