quantlib.util.version.parse_ql_version_string¶
- parse_ql_version_string(version)¶
Parse a QuantLib version string.
- Parameters:
version (string) – A QuantLib version string of the form major.minor.patch-release, where the fields “patch” and “release” are optional.
- Returns:
A tuple (major, minor, patch, release), where patch and release are
None if they were not present in the version string.