File tree 4 files changed +7
-3
lines changed
tests/stubtest_allowlists
4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,7 @@ class ReadTransport(BaseTransport):
28
28
class WriteTransport (BaseTransport ):
29
29
def set_write_buffer_limits (self , high : int | None = ..., low : int | None = ...) -> None : ...
30
30
def get_write_buffer_size (self ) -> int : ...
31
- if sys .version_info >= (3 , 9 ):
32
- def get_write_buffer_limits (self ) -> tuple [int , int ]: ...
33
-
31
+ def get_write_buffer_limits (self ) -> tuple [int , int ]: ...
34
32
def write (self , data : Any ) -> None : ...
35
33
def writelines (self , list_of_data : list [Any ]) -> None : ...
36
34
def write_eof (self ) -> None : ...
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ asyncio.futures.Future.__init__ # Usually initialized from c object
8
8
asyncio.futures._TracebackLogger.__init__
9
9
asyncio.locks._ContextManagerMixin.__enter__ # Always raises; deliberately omitted from the stub
10
10
asyncio.locks._ContextManagerMixin.__exit__ # Always raises; deliberately omitted from the stub
11
+ asyncio.transports.WriteTransport.get_write_buffer_limits # Documented. Exists in subclasses, but not in WriteTransport itself
12
+ asyncio.WriteTransport.get_write_buffer_limits # Documented. Exists in subclasses, but not in WriteTransport itself
11
13
builtins.float.__setformat__ # Internal method for CPython test suite
12
14
builtins.str.maketrans
13
15
cmath.log
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ asyncio.futures.Future.__init__ # Usually initialized from c object
11
11
asyncio.futures.Future._callbacks # Usually initialized from c object
12
12
asyncio.locks._ContextManagerMixin.__enter__ # Always raises; deliberately omitted from the stub
13
13
asyncio.locks._ContextManagerMixin.__exit__ # Always raises; deliberately omitted from the stub
14
+ asyncio.transports.WriteTransport.get_write_buffer_limits # Documented. Exists in subclasses, but not in WriteTransport itself
15
+ asyncio.WriteTransport.get_write_buffer_limits # Documented. Exists in subclasses, but not in WriteTransport itself
14
16
builtins.dict.get
15
17
builtins.float.__set_format__ # Internal method for CPython test suite
16
18
builtins.str.maketrans
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ asyncio.futures.Future.__init__ # Usually initialized from c object
17
17
asyncio.futures.Future._callbacks # Usually initialized from c object
18
18
asyncio.locks._ContextManagerMixin.__enter__ # Always raises; deliberately omitted from the stub
19
19
asyncio.locks._ContextManagerMixin.__exit__ # Always raises; deliberately omitted from the stub
20
+ asyncio.transports.WriteTransport.get_write_buffer_limits # Documented. Exists in subclasses, but not in WriteTransport itself
21
+ asyncio.WriteTransport.get_write_buffer_limits # Documented. Exists in subclasses, but not in WriteTransport itself
20
22
builtins.dict.get
21
23
builtins.float.__set_format__ # Internal method for CPython test suite
22
24
collections.AsyncGenerator.asend # async at runtime, deliberately not in the stub, see #7491. Pos-only differences also.
You can’t perform that action at this time.
0 commit comments