Skip to content
Snippets Groups Projects
Commit 129f104a authored by Xuefeng Ding's avatar Xuefeng Ding
Browse files

simpler pyi

parent d81b89a0
No related branches found
No related tags found
No related merge requests found
"""
pybind11 example plugin
"""
from __future__ import annotations
__all__ = ["add", "complexf"]
def add(arg0: float, arg1: float) -> float:
"""
A function which adds two numbers
"""
def complexf(arg0: float, arg1: float) -> float:
"""
complex(a,b) = add(a,b) + 2
"""
def add(__a: float, __b: float) -> float: ...
def complexf(__a: float, __b: float) -> float: ...
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment