File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
@tests/stubtest_allowlists Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ ctypes.wintypes.HDROP
5858ctypes.wintypes.HFILE
5959ctypes.wintypes.HRESULT
6060ctypes.wintypes.HSZ
61- dis.Instruction.make
6261enum.Enum.__signature__
6362enum.EnumMeta.__signature__
6463enum.EnumType.__signature__
Original file line number Diff line number Diff line change @@ -106,6 +106,21 @@ class Instruction(_Instruction):
106106 def jump_target (self ) -> int : ...
107107 @property
108108 def is_jump_target (self ) -> bool : ...
109+ if sys .version_info >= (3 , 14 ):
110+ @staticmethod
111+ def make (
112+ opname : str ,
113+ arg : int | None ,
114+ argval : Any ,
115+ argrepr : str ,
116+ offset : int ,
117+ start_offset : int ,
118+ starts_line : bool ,
119+ line_number : int | None ,
120+ label : int | None = None ,
121+ positions : Positions | None = None ,
122+ cache_info : list [tuple [str , int , Any ]] | None = None ,
123+ ) -> Instruction : ...
109124
110125class Bytecode :
111126 codeobj : types .CodeType
You can’t perform that action at this time.
0 commit comments