Commit 17de69e
committed
Add sys.lazy_modules docs and fix CI test failures
- Add ``sys.lazy_modules`` entry to Doc/library/sys.rst (frozendict
snapshot, fresh per access, versionadded 3.15)
- Fix test_builtin.test_vars: sys.lazy_modules is served by
sys.__getattr__ so it appears in dir() but not vars()
- Fix test_inspect.test_sys_module_has_signatures: sys.__dir__ and
sys.__getattr__ are METH_NOARGS/METH_VARARGS builtins without
Argument Clinic text signatures; add them to no_signature1 parent 2c0e3f2 commit 17de69e
3 files changed
Lines changed: 27 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1483 | 1483 | | |
1484 | 1484 | | |
1485 | 1485 | | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
1486 | 1507 | | |
1487 | 1508 | | |
1488 | 1509 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2132 | 2132 | | |
2133 | 2133 | | |
2134 | 2134 | | |
2135 | | - | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
2136 | 2138 | | |
2137 | 2139 | | |
2138 | 2140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6179 | 6179 | | |
6180 | 6180 | | |
6181 | 6181 | | |
| 6182 | + | |
| 6183 | + | |
| 6184 | + | |
6182 | 6185 | | |
6183 | 6186 | | |
6184 | 6187 | | |
| |||
0 commit comments