{"action":"created","issue":{"url":"https://api.github.com/repos/python/cpython/issues/3959","repository_url":"https://api.github.com/repos/python/cpython","labels_url":"https://api.github.com/repos/python/cpython/issues/3959/labels{/name}","comments_url":"https://api.github.com/repos/python/cpython/issues/3959/comments","events_url":"https://api.github.com/repos/python/cpython/issues/3959/events","html_url":"https://github.com/python/cpython/pull/3959","id":264787484,"number":3959,"title":"bpo-31567: Use decorator markup for staticmethod()/classmethod()","user":{"login":"dmiyakawa","id":2149473,"avatar_url":"https://avatars0.githubusercontent.com/u/2149473?v=4","gravatar_id":"","url":"https://api.github.com/users/dmiyakawa","html_url":"https://github.com/dmiyakawa","followers_url":"https://api.github.com/users/dmiyakawa/followers","following_url":"https://api.github.com/users/dmiyakawa/following{/other_user}","gists_url":"https://api.github.com/users/dmiyakawa/gists{/gist_id}","starred_url":"https://api.github.com/users/dmiyakawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmiyakawa/subscriptions","organizations_url":"https://api.github.com/users/dmiyakawa/orgs","repos_url":"https://api.github.com/users/dmiyakawa/repos","events_url":"https://api.github.com/users/dmiyakawa/events{/privacy}","received_events_url":"https://api.github.com/users/dmiyakawa/received_events","type":"User","site_admin":false},"labels":[{"id":666979922,"url":"https://api.github.com/repos/python/cpython/labels/awaiting%20changes","name":"awaiting changes","color":"fbca04","default":false},{"id":536945472,"url":"https://api.github.com/repos/python/cpython/labels/CLA%20signed","name":"CLA signed","color":"0e8a16","default":false},{"id":667924166,"url":"https://api.github.com/repos/python/cpython/labels/skip%20news","name":"skip news","color":"000000","default":false},{"id":538516109,"url":"https://api.github.com/repos/python/cpython/labels/type-documentation","name":"type-documentation","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-12T01:38:30Z","updated_at":"2017-10-12T02:40:37Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/python/cpython/pulls/3959","html_url":"https://github.com/python/cpython/pull/3959","diff_url":"https://github.com/python/cpython/pull/3959.diff","patch_url":"https://github.com/python/cpython/pull/3959.patch"},"body":"staticmethod() and classmethod() are expected to be used with decorator, so documentation should mention it.\n\n<!-- issue-number: bpo-31567 -->\nhttps://bugs.python.org/issue31567\n<!-- /issue-number -->\n"},"comment":{"url":"https://api.github.com/repos/python/cpython/issues/comments/336004092","html_url":"https://github.com/python/cpython/pull/3959#issuecomment-336004092","issue_url":"https://api.github.com/repos/python/cpython/issues/3959","id":336004092,"user":{"login":"dmiyakawa","id":2149473,"avatar_url":"https://avatars0.githubusercontent.com/u/2149473?v=4","gravatar_id":"","url":"https://api.github.com/users/dmiyakawa","html_url":"https://github.com/dmiyakawa","followers_url":"https://api.github.com/users/dmiyakawa/followers","following_url":"https://api.github.com/users/dmiyakawa/following{/other_user}","gists_url":"https://api.github.com/users/dmiyakawa/gists{/gist_id}","starred_url":"https://api.github.com/users/dmiyakawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmiyakawa/subscriptions","organizations_url":"https://api.github.com/users/dmiyakawa/orgs","repos_url":"https://api.github.com/users/dmiyakawa/repos","events_url":"https://api.github.com/users/dmiyakawa/events{/privacy}","received_events_url":"https://api.github.com/users/dmiyakawa/received_events","type":"User","site_admin":false},"created_at":"2017-10-12T02:40:37Z","updated_at":"2017-10-12T02:40:37Z","author_association":"NONE","body":"I have made the requested changes; please review again.\r\n\r\nRemoved \"(function)\" for both classmethod and staticmethod. Since the following explanations points to the name \"function\" in the arg, I modified the description too (I mimicked the line in @functools.singledispatch)\r\n\r\nhttps://docs.python.org/3.6/library/functools.html#functools.singledispatch\r\n\r\n> Transforms a function into a single-dispatch generic function."}}
{"actor":{"display_login":"dmiyakawa"}}