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 | <1617208385.0.0.49597113018.issue43682@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
> Changing static methods is not going to fix that. My plan for the _pyio module is: (1) Make static methods callable (2) Decorate _pyio.open() with @staticmethod That would only fix the very specific case of _pyio.open(). But open() use case seems to be common enough to became the example in the @staticmethod documentation! https://docs.python.org/dev/library/functions.html#staticmethod Example added in bpo-31567 "Inconsistent documentation around decorators" by: commit 03b9537dc515d10528f83c920d38910b95755aff Author: Éric Araujo <merwok@users.noreply.github.com> Date: Thu Oct 12 12:28:55 2017 -0400 bpo-31567: more decorator markup fixes in docs (GH-3959) (#3966) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2021年03月31日 16:33:05 | vstinner | set | recipients: + vstinner, rhettinger, mark.dickinson, Mark.Shannon |
| 2021年03月31日 16:33:04 | vstinner | set | messageid: <1617208385.0.0.49597113018.issue43682@roundup.psfhosted.org> |
| 2021年03月31日 16:33:04 | vstinner | link | issue43682 messages |
| 2021年03月31日 16:33:04 | vstinner | create | |