From 45a280caafc8e072f6b126c566864bac6c2a3db0 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 12 Dec 2021 11:09:26 -0500 Subject: [PATCH] Remove LooseVersion.__init__ as it's identical to super().__init__ --- distutils/version.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/distutils/version.py b/distutils/version.py index c33bebaed2..f09889ac43 100644 --- a/distutils/version.py +++ b/distutils/version.py @@ -301,11 +301,6 @@ class LooseVersion (Version): component_re = re.compile(r'(\d+ | [a-z]+ | \.)', re.VERBOSE) - def __init__ (self, vstring=None): - if vstring: - self.parse(vstring) - - def parse (self, vstring): # I've given up on thinking I can reconstruct the version string # from the parsed tuple -- so I just store the string here for