Sign in
pigweed
/
third_party
/
github
/
pybind
/
pybind11
/
5bfe727c3fc92926997cb318e82fa2e6aedbbfa9
/
.
/
pybind11
/
_version.py
blob: c5cc1a0b09bf79e02f2d65733a87841012aa2f26 [
file
] [
log
] [
blame
]
from
__future__
import
annotations
def
_to_int
(
s
:
str
)
->
int
|
str
:
try
:
return
int
(
s
)
except
ValueError
:
return
s
__version__
=
"2.14.0.dev1"
version_info
=
tuple
(
_to_int
(
s
)
for
s
in
__version__
.
split
(
"."
))