wrap
pybind11
pybind11
_version.py
Go to the documentation of this file.
1
from
typing
import
Union
2
3
4
def
_to_int
(s: str) -> Union[int, str]:
5
try
:
6
return
int
(s)
7
except
ValueError:
8
return
s
9
10
11
__version__ =
"2.11.1"
12
version_info =
tuple
(
_to_int
(s)
for
s
in
__version__.split(
"."
))
gtsam.examples.DogLegOptimizerExample.int
int
Definition:
DogLegOptimizerExample.py:111
tuple
Definition:
pytypes.h:2035
pybind11._version._to_int
Union[int, str] _to_int(str s)
Definition:
_version.py:4
gtsam
Author(s):
autogenerated on Mon Jul 1 2024 03:00:42