[bindings] fix signatures in pyi files
This commit is contained in:
@@ -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
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user