Title: Wrong parameter name in http.client.read documentation: “amt” vs “n” · Issue #103112 · python/cpython · GitHub
Open Graph Title: Wrong parameter name in http.client.read documentation: “amt” vs “n” · Issue #103112 · python/cpython
X Title: Wrong parameter name in http.client.read documentation: “amt” vs “n” · Issue #103112 · python/cpython
Description: Documentation `pydoc http.client.HTTPResponse.read`` results in help text: http.client.HTTPResponse.read = read(self, amt=None) Read and return up to n bytes. The parameter is called “amt” but the help text refers to “n”. transferring th...
Open Graph Description: Documentation `pydoc http.client.HTTPResponse.read`` results in help text: http.client.HTTPResponse.read = read(self, amt=None) Read and return up to n bytes. The parameter is called “amt” but the ...
X Description: Documentation `pydoc http.client.HTTPResponse.read`` results in help text: http.client.HTTPResponse.read = read(self, amt=None) Read and return up to n bytes. The parameter is called “amt” but the ...
Opengraph URL: https://github.com/python/cpython/issues/103112
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Wrong parameter name in http.client.read documentation: “amt” vs “n”","articleBody":"# Documentation\r\n\r\n`pydoc http.client.HTTPResponse.read``\r\n\r\nresults in help text:\r\n\r\n```\r\nhttp.client.HTTPResponse.read = read(self, amt=None)\r\n Read and return up to n bytes.\r\n```\r\nThe parameter is called “amt” but the help text refers to “n”.\r\n\r\ntransferring the issue from [discuss.python.org](https://discuss.python.org/t/wrong-parameter-name-in-http-client-read-documentation-amt-vs-n/25284)\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-103113\n* gh-103119\n* gh-103120\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/bwagner","@type":"Person","name":"bwagner"},"datePublished":"2023-03-29T14:38:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/103112/cpython/issues/103112"}
| 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:794fc0c6-b47b-3d31-42a5-079c816a79a2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D0C6:1E9341:FB36DE:159475F:6969F32F |
| html-safe-nonce | c389668838bdc98c15e797a953e6062720ba5d7a1c6e6202311e1fe01b185b82 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEM2OjFFOTM0MTpGQjM2REU6MTU5NDc1Rjo2OTY5RjMyRiIsInZpc2l0b3JfaWQiOiI1NTU0NTMwNjkyODUxNDMwMTkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 794aca63a9b3dd328a9bf912976056412b0b84919bd15c36f467c6cde60253af |
| hovercard-subject-tag | issue:1645956412 |
| 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/103112/issue_layout |
| twitter:image | https://opengraph.githubassets.com/25c9533c47190d5ce56876736cabba1b05205998542bb0a53012a3b802014aff/python/cpython/issues/103112 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/25c9533c47190d5ce56876736cabba1b05205998542bb0a53012a3b802014aff/python/cpython/issues/103112 |
| og:image:alt | Documentation `pydoc http.client.HTTPResponse.read`` results in help text: http.client.HTTPResponse.read = read(self, amt=None) Read and return up to n bytes. The parameter is called “amt” but the ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bwagner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width