File tree 2 files changed +9
-2
lines changed
tests/stubtest_allowlists
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import sys
2
2
from _typeshed import Self , SupportsGetItem , SupportsItemAccess
3
3
from builtins import type as _type
4
4
from collections .abc import Iterable , Iterator , Mapping
5
+ from types import TracebackType
5
6
from typing import IO , Any , Protocol
6
7
7
8
if sys .version_info >= (3 , 8 ):
@@ -138,3 +139,11 @@ class FieldStorage:
138
139
def __bool__ (self ) -> bool : ...
139
140
# In Python 3 it returns bytes or str IO depending on an internal flag
140
141
def make_file (self ) -> IO [Any ]: ...
142
+
143
+ def print_exception (
144
+ type : type [BaseException ] | None = ...,
145
+ value : BaseException | None = ...,
146
+ tb : TracebackType | None = ...,
147
+ limit : int | None = ...,
148
+ ) -> None : ...
149
+ def print_arguments () -> None : ...
Original file line number Diff line number Diff line change @@ -424,8 +424,6 @@ cgi.FieldStorage.read_multi
424
424
cgi.FieldStorage.read_single
425
425
cgi.FieldStorage.read_urlencoded
426
426
cgi.FieldStorage.skip_lines
427
- cgi.print_arguments # internal testing/debugging helper
428
- cgi.print_exception # internal testing/debugging helper
429
427
email.contentmanager.get_and_fixup_unknown_message_content
430
428
email.contentmanager.get_message_content
431
429
email.contentmanager.get_non_text_content
You can’t perform that action at this time.
0 commit comments