summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2022-07-25 11:11:06 (GMT)
committerGitHub <noreply@github.com>2022-07-25 11:11:06 (GMT)
commite5ff5ec3ffb869ff410311c57aa05ff8fb17956a (patch)
tree0405658d24aea77ead4857917e2457ef21a0f563 /Python/ceval.c
parentdf95ad3d721f90bd1339fa12353d9b633ad9d27e (diff)
downloadcpython-e5ff5ec3ffb869ff410311c57aa05ff8fb17956a.zip
cpython-e5ff5ec3ffb869ff410311c57aa05ff8fb17956a.tar.gz
cpython-e5ff5ec3ffb869ff410311c57aa05ff8fb17956a.tar.bz2
[3.11] GH-94739: Backport GH-94958 to 3.11 (#94965)
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index d40bf27..31cdb55 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -6056,20 +6056,6 @@ fail:
}
-/* Exception table parsing code.
- * See Objects/exception_table_notes.txt for details.
- */
-
-static inline unsigned char *
-parse_varint(unsigned char *p, int *result) {
- int val = p[0] & 63;
- while (p[0] & 64) {
- p++;
- val = (val << 6) | (p[0] & 63);
- }
- *result = val;
- return p+1;
-}
static inline unsigned char *
scan_back_to_entry_start(unsigned char *p) {