Repository navigation
Commit 7707506
committed
gh-156725: document O(N) behavior of PyCode_Addr2Line and the private line-table API
The C-API docs for PyCode_Addr2Line pointed to the PEP 626 section that
describes PyLineTable_InitAddressRange / PyLineTable_NextAddressRange /
PyLineTable_PreviousAddressRange, but those functions have since been renamed
with a leading underscore and moved to the private header
Include/internal/pycore_code.h. Point to the current private names, note that
they are not a stable public API, and document that PyCode_Addr2Line is O(N).1 parent 486b000 commit 7707506
1 file changed
Lines changed: 19 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
98 | 102 | | |
99 | 103 | | |
100 | | - | |
101 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
102 | 118 | | |
103 | 119 | | |
104 | 120 | | |
| |||
0 commit comments