Skip to content

Commit

Permalink
Update stubs after pybind11 update (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
sizmailov authored Oct 21, 2023
1 parent b8decd4 commit bbb1104
Show file tree
Hide file tree
Showing 35 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
matrix:
pybind11-branch: [ "master" ]
python:
- "3.12"
- "3.11"
- "3.10"
- "3.9"
Expand Down
1 change: 1 addition & 0 deletions tests/stubs/python-3.11
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class MapStringComplex:
def __delitem__(self, arg0: str) -> None: ...
def __getitem__(self, arg0: str) -> complex: ...
def __init__(self) -> None: ...
def __iter__(self) -> typing.Iterator: ...
def __iter__(self) -> typing.Iterator[str]: ...
def __len__(self) -> int: ...
def __repr__(self) -> str:
"""
Expand Down Expand Up @@ -69,7 +69,7 @@ class VectorPairStringDouble:
"""
@typing.overload
def __init__(self, arg0: typing.Iterable) -> None: ...
def __iter__(self) -> typing.Iterator: ...
def __iter__(self) -> typing.Iterator[tuple[str, float]]: ...
def __len__(self) -> int: ...
def __ne__(self, arg0: VectorPairStringDouble) -> bool: ...
@typing.overload
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class MapStringComplex:
def __delitem__(self, arg0: str) -> None: ...
def __getitem__(self, arg0: str) -> complex: ...
def __init__(self) -> None: ...
def __iter__(self) -> typing.Iterator: ...
def __iter__(self) -> typing.Iterator[str]: ...
def __len__(self) -> int: ...
def __repr__(self) -> str:
"""
Expand Down Expand Up @@ -69,7 +69,7 @@ class VectorPairStringDouble:
"""
@typing.overload
def __init__(self, arg0: typing.Iterable) -> None: ...
def __iter__(self) -> typing.Iterator: ...
def __iter__(self) -> typing.Iterator[tuple[str, float]]: ...
def __len__(self) -> int: ...
def __ne__(self, arg0: VectorPairStringDouble) -> bool: ...
@typing.overload
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class MapStringComplex:
def __delitem__(self, arg0: str) -> None: ...
def __getitem__(self, arg0: str) -> complex: ...
def __init__(self) -> None: ...
def __iter__(self) -> typing.Iterator: ...
def __iter__(self) -> typing.Iterator[str]: ...
def __len__(self) -> int: ...
def __repr__(self) -> str:
"""
Expand Down Expand Up @@ -69,7 +69,7 @@ class VectorPairStringDouble:
"""
@typing.overload
def __init__(self, arg0: typing.Iterable) -> None: ...
def __iter__(self) -> typing.Iterator: ...
def __iter__(self) -> typing.Iterator[tuple[str, float]]: ...
def __len__(self) -> int: ...
def __ne__(self, arg0: VectorPairStringDouble) -> bool: ...
@typing.overload
Expand Down
2 changes: 1 addition & 1 deletion tests/stubs/python-3.9

0 comments on commit bbb1104

Please sign in to comment.