Commit b6c6cd6
[3.14] gh-144330: Initialize classmethod and staticmethod in new (GH-144498)
gh-144330: Initialize classmethod and staticmethod in new
Initialize cm_callable and sm_callable to None in classmethod and
staticmethod constructor.
(cherry picked from commit 160810d)
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Aniket Singh Yadav <singhyadavaniket43@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
1 parent 7d04956 commit b6c6cd6
2 files changed
+46
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5065 | 5065 | | |
5066 | 5066 | | |
5067 | 5067 | | |
| 5068 | + | |
| 5069 | + | |
| 5070 | + | |
| 5071 | + | |
| 5072 | + | |
| 5073 | + | |
| 5074 | + | |
| 5075 | + | |
| 5076 | + | |
| 5077 | + | |
| 5078 | + | |
| 5079 | + | |
| 5080 | + | |
| 5081 | + | |
| 5082 | + | |
| 5083 | + | |
| 5084 | + | |
| 5085 | + | |
| 5086 | + | |
| 5087 | + | |
5068 | 5088 | | |
5069 | 5089 | | |
5070 | 5090 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1226 | 1226 | | |
1227 | 1227 | | |
1228 | 1228 | | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
1229 | 1241 | | |
1230 | 1242 | | |
1231 | 1243 | | |
| |||
1337 | 1349 | | |
1338 | 1350 | | |
1339 | 1351 | | |
1340 | | - | |
| 1352 | + | |
1341 | 1353 | | |
1342 | 1354 | | |
1343 | 1355 | | |
| |||
1415 | 1427 | | |
1416 | 1428 | | |
1417 | 1429 | | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
1418 | 1442 | | |
1419 | 1443 | | |
1420 | 1444 | | |
| |||
1531 | 1555 | | |
1532 | 1556 | | |
1533 | 1557 | | |
1534 | | - | |
| 1558 | + | |
1535 | 1559 | | |
1536 | 1560 | | |
1537 | 1561 | | |
| |||
0 commit comments