Cloned library pybind11-2.10.4 with extra build files for internal package management.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
from typing import Union
|
|
|
|
|
|
def _to_int(s: str) -> Union[int, str]:
|
|
try:
|
|
return int(s)
|
|
except ValueError:
|
|
return s
|
|
|
|
|
|
__version__ = "2.10.4"
|
|
version_info = tuple(_to_int(s) for s in __version__.split("."))
|
|
|