[bindings] fix signatures in pyi files

This commit is contained in:
Frank Martinez
2025-09-25 20:43:33 -05:00
parent 8c7f381416
commit 748004b4e4
247 changed files with 2001 additions and 897 deletions

View File

@@ -1,4 +1,6 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# SPDX-License: LGPL-2.1-or-later
from __future__ import annotations
from Metadata import constmethod
from PyObjectBase import PyObjectBase
@@ -19,7 +21,7 @@ class BaseClass(PyObjectBase):
"""Module in which this class is defined"""
@constmethod
def isDerivedFrom(self, typeName: str) -> bool:
def isDerivedFrom(self, typeName: str, /) -> bool:
"""
Returns true if given type is a father
"""