Commit 6ef0f65
committed
gh-72088: clarify inspect.ismethod returns False for class-level access
Accessing a method through the class returns a plain function, not a
bound method, so ismethod() returns False in that case. Add a note
and a cross-reference to the 'instance methods' section of the data
model reference to explain this.1 parent 36e4ffc commit 6ef0f65
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
428 | 433 | | |
429 | 434 | | |
430 | 435 | | |
| |||
0 commit comments