@@ -309,10 +309,12 @@ def get_main_executable_path() -> typing.Optional[str]: ...
309309def info (* args , ** kwargs ): ... # FIXME Function
310310
311311# override
312- def init (argv : Optional [list [str ]] = None ) -> None : ...
312+ def init (argv : typing . Optional [list [str ]] = None ) -> None : ...
313313
314314# override
315- def init_check (argv : Optional [list [str ]] = None ) -> Tuple [bool , list [str ]]: ...
315+ def init_check (
316+ argv : typing .Optional [list [str ]] = None ,
317+ ) -> typing .Tuple [bool , list [str ]]: ...
316318def init_python (): ... # FIXME Function
317319def is_caps_features (obj : None ) -> bool : ...
318320def is_initialized () -> bool : ...
@@ -948,12 +950,12 @@ class Buffer(GObject.GBoxed):
948950 def new_wrapped_full (
949951 cls ,
950952 flags : MemoryFlags ,
951- data : Sequence [int ],
953+ data : typing . Sequence [int ],
952954 maxsize : int ,
953955 offset : int ,
954956 user_data : None ,
955- notify : Optional [Callable [[None ], None ]] = None ,
956- * _user_data : Any ,
957+ notify : typing . Optional [typing . Callable [[None ], None ]] = None ,
958+ * _user_data : typing . Any ,
957959 ) -> Buffer : ...
958960 def peek_memory (self , idx : int ) -> typing .Optional [Memory ]: ...
959961 def prepend_memory (self , mem : Memory ) -> None : ...
@@ -2904,28 +2906,32 @@ class IntRange: ...
29042906
29052907# override
29062908class Iterator (GObject .GBoxed ):
2907- item : Callable [[Iterator , Any ], IteratorItem ] = ...
2909+ item : typing . Callable [[Iterator , typing . Any ], IteratorItem ] = ...
29082910 pushed : Iterator = ...
2909- type : Type = ...
2911+ type : typing . Type = ...
29102912 lock : GLib .Mutex = ...
29112913 cookie : int = ...
29122914 master_cookie : int = ...
29132915 size : int = ...
29142916 _gst_reserved : list [None ] = ...
29152917
29162918 def copy (self ) -> Iterator : ...
2917- def filter (self , func : Callable [[None , None ], int ], user_data : Any ) -> Iterator : ...
2919+ def filter (
2920+ self , func : typing .Callable [[None , None ], int ], user_data : typing .Any
2921+ ) -> Iterator : ...
29182922 def find_custom (
2919- self , func : Callable [[None , None ], int ], * user_data : Any
2920- ) -> Tuple [bool , Any ]: ...
2923+ self , func : typing . Callable [[None , None ], int ], * user_data : typing . Any
2924+ ) -> typing . Tuple [bool , typing . Any ]: ...
29212925 def fold (
2922- self , func : Callable [..., bool ], ret : Any , * user_data : Any
2926+ self , func : typing .Callable [..., bool ], ret : typing .Any , * user_data : typing .Any
2927+ ) -> IteratorResult : ...
2928+ def foreach (
2929+ self , func : typing .Callable [..., None ], * user_data : typing .Any
29232930 ) -> IteratorResult : ...
2924- def foreach (self , func : Callable [..., None ], * user_data : Any ) -> IteratorResult : ...
29252931 def free (self ) -> None : ...
29262932 @classmethod
2927- def new_single (cls , type : Type , object : Any ) -> Iterator : ...
2928- def next (self ) -> Tuple [IteratorResult , Any ]: ...
2933+ def new_single (cls , type : typing . Type , object : typing . Any ) -> Iterator : ...
2934+ def next (self ) -> typing . Tuple [IteratorResult , typing . Any ]: ...
29292935 def push (self , other : Iterator ) -> None : ...
29302936 def resync (self ) -> None : ...
29312937
@@ -2979,13 +2985,13 @@ class Memory(GObject.GBoxed):
29792985 def new_wrapped (
29802986 cls ,
29812987 flags : MemoryFlags ,
2982- data : Sequence [int ],
2988+ data : typing . Sequence [int ],
29832989 maxsize : int ,
29842990 offset : int ,
29852991 user_data : None ,
2986- notify : Optional [Callable [[None ], None ]] = None ,
2987- * _user_data : Any ,
2988- ) -> Optional [Memory ]: ...
2992+ notify : typing . Optional [typing . Callable [[None ], None ]] = None ,
2993+ * _user_data : typing . Any ,
2994+ ) -> typing . Optional [Memory ]: ...
29892995 def resize (self , offset : int , size : int ) -> None : ...
29902996 def share (self , offset : int , size : int ) -> Memory : ...
29912997 def unmap (self , mapinfo ): ... # FIXME Function
0 commit comments