| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
(GH-95967) (#96099)
|
| |
|
| |
|
|
|
| |
On `obj.read_only_property = x`, raise `AttributeError: property 'read_only_property' of 'A' object has no setter`.
|
| |
|
|
|
|
|
|
| |
staticmethod() also became callable in Python 3.10.
See: b83861f02.
|
| |
|
|
|
| |
Reported by Yahor Harunovich.
|
|
|
|
|
|
| |
The open() was missing 'w' to indicate it was in a write-mode.
Even then, the open().close() operation was distracting because
it is an unusual way to "touch" as file. Using os.remove()
instead is simpler and less distracting.
|
| |
|
|
|
| |
It should be PyMethod_Type, not Py_MethodType.
|
|
|
|
| |
(GH-24787)
|
|
|
|
| |
(GH-24456)
|
| |
|
| |
|
|
|
|
|
|
|
| |
Looks like a "not" was inadvertently omitted in commit e6a7ea4.
Classmethods are useful when data stored in specific instances are *not*
needed.
Automerge-Triggered-By: GH:JulienPalard
|
| |
|
| |
|
|
|
|
| |
(GH-23475)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
HowTo (GH-23078)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
https://bugs.python.org/issue23984
|
| |
|
| |
|
|
|
|
|
|
| |
(GH-1959)
Look for '__set__' or '__delete__'.
|
|
|
|
| |
(#3739)
|
| |
|
|
|
|
| |
Update the code example in Functions and Methods section
Remove objtype argument in MethodType
|
| |
|
|
|
|
| |
Original patch by James Edwards.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|