This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Mark.Shannon, mark.dickinson, rhettinger, vstinner
Date 2021-03-31.16:33:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Changing static methods is not going to fix that.

My plan for the _pyio module is:

(1) Make static methods callable
(2) Decorate with @staticmethod

That would only fix the very specific case of But open() use case seems to be common enough to became the example in the @staticmethod documentation!

Example added in bpo-31567 "Inconsistent documentation around decorators" by:

commit 03b9537dc515d10528f83c920d38910b95755aff
Author: Éric Araujo <>
Date:   Thu Oct 12 12:28:55 2017 -0400

    bpo-31567: more decorator markup fixes in docs (GH-3959) (#3966)
Date User Action Args
2021-03-31 16:33:05vstinnersetrecipients: + vstinner, rhettinger, mark.dickinson, Mark.Shannon
2021-03-31 16:33:04vstinnersetmessageid: <>
2021-03-31 16:33:04vstinnerlinkissue43682 messages
2021-03-31 16:33:04vstinnercreate