summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2022-07-25 12:11:06 +0100
committerGitHub <noreply@github.com>2022-07-25 12:11:06 +0100
commite5ff5ec3ffb869ff410311c57aa05ff8fb17956a (patch)
tree0405658d24aea77ead4857917e2457ef21a0f563 /Python
parentdf95ad3d721f90bd1339fa12353d9b633ad9d27e (diff)
downloadpython-e5ff5ec3ffb869ff410311c57aa05ff8fb17956a.tar.gz
python-e5ff5ec3ffb869ff410311c57aa05ff8fb17956a.zip
[3.11] GH-94739: Backport GH-94958 to 3.11 (#94965)
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index d40bf275a17..31cdb554279 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) {