mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-11 00:40:22 +00:00
Adopt PEP 484 type hints for C++ types exported to Python
This commit is contained in:
@@ -76,3 +76,4 @@ my_func(x:int=6, y:float=3, z:float=2)
|
||||
Int branch taken.
|
||||
Float branch taken.
|
||||
Complex float branch taken.
|
||||
vectorized_func(arg0: numpy.ndarray[int], arg1: numpy.ndarray[float], arg2: numpy.ndarray[float]) -> object
|
||||
|
||||
Reference in New Issue
Block a user