aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty/pybind11/pybind11/_version.py
blob: 1cb51fc5c24bd0b69b301c9def3182c8e4350240 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from typing import Union


def _to_int(s: str) -> Union[int, str]:
    try:
        return int(s)
    except ValueError:
        return s


__version__ = "2.11.0.dev1"
version_info = tuple(_to_int(s) for s in __version__.split("."))