src/eric7/Globals/__init__.py

branch
eric7-maintenance
changeset 10079
0222a480e93d
parent 10004
983477114d3c
parent 10069
435cc5875135
child 10148
31ba20629af4
--- a/src/eric7/Globals/__init__.py	Tue May 02 10:20:23 2023 +0200
+++ b/src/eric7/Globals/__init__.py	Sat May 27 19:02:58 2023 +0200
@@ -113,7 +113,7 @@
         return semver.VersionInfo.isvalid(version)
 
 
-def versionToTuple(version, length=3):
+def versionToTuple(version):
     """
     Module function to convert a version string into a tuple.
 
@@ -123,8 +123,6 @@
 
     @param version version string
     @type str
-    @param length desired length of the version tuple (ignored)
-    @type int
     @return version named tuple containing the version parts
     @rtype semver.VersionInfo
     """
@@ -310,4 +308,4 @@
 
 
 #
-# eflag: noqa = M801
+# eflag: noqa = M801, U200

eric ide

mercurial