pybind11/pybind11/_version.py
Henry Schreiner 7af193e7e4
chore: get back to work
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
2024-03-27 20:03:39 -04:00

13 lines
233 B
Python

from typing import Union
def _to_int(s: str) -> Union[int, str]:
try:
return int(s)
except ValueError:
return s
__version__ = "2.13.0.dev1"
version_info = tuple(_to_int(s) for s in __version__.split("."))