Skip to content

Commit cde8f56

Browse files
committed
RF: Use Version since we are pep440 compliant
1 parent 0b7dcfb commit cde8f56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tools/buildmodref.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def writeapi(package, outdir, source_version, other_defines=True):
3535
# are not (re)generated. This avoids automatic generation of documentation
3636
# for older or newer versions if such versions are installed on the system.
3737

38-
installed_version = V(module.__version__)
38+
installed_version = Version(module.__version__)
3939
if source_version != installed_version:
4040
abort("Installed version does not match source version")
4141

0 commit comments

Comments
 (0)