[bindings] Format with yapf (precommit will reformat)
This commit is contained in:
@@ -1,31 +1,40 @@
|
||||
# SPDX-License: LGPL-2.1-or-later
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
"""
|
||||
This file keeps auxiliary metadata to be used by the Python API stubs.
|
||||
"""
|
||||
|
||||
|
||||
def export(**kwargs):
|
||||
"""
|
||||
A decorator to attach metadata to a class.
|
||||
"""
|
||||
...
|
||||
|
||||
def constmethod(method): ...
|
||||
def no_args(method): ...
|
||||
|
||||
def constmethod(method):
|
||||
...
|
||||
|
||||
|
||||
def no_args(method):
|
||||
...
|
||||
|
||||
|
||||
def forward_declarations(source_code):
|
||||
"""
|
||||
A decorator to attach forward declarations to a class.
|
||||
"""
|
||||
...
|
||||
|
||||
|
||||
def class_declarations(source_code):
|
||||
"""
|
||||
A decorator to attach forward declarations to a class.
|
||||
"""
|
||||
...
|
||||
|
||||
|
||||
def sequence_protocol(**kwargs):
|
||||
"""
|
||||
A decorator to attach sequence protocol metadata to a class.
|
||||
|
||||
Reference in New Issue
Block a user