Skip to content

Commit

Permalink
Remove LooseVersion.__init__ as it's identical to super().__init__
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Dec 12, 2021
1 parent bb74c98 commit 45a280c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions distutils/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 45a280c

Please sign in to comment.