-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5170 from pypa/vendor-pyparsing-3.0.9
bump pyparsing version to 3.0.9
- Loading branch information
Showing
11 changed files
with
322 additions
and
232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# module pyparsing.py | ||
# | ||
# Copyright (c) 2003-2021 Paul T. McGuire | ||
# Copyright (c) 2003-2022 Paul T. McGuire | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining | ||
# a copy of this software and associated documentation files (the | ||
|
@@ -105,14 +105,17 @@ class version_info(NamedTuple): | |
|
||
@property | ||
def __version__(self): | ||
return "{}.{}.{}".format(self.major, self.minor, self.micro) + ( | ||
"{}{}{}".format( | ||
"r" if self.releaselevel[0] == "c" else "", | ||
self.releaselevel[0], | ||
self.serial, | ||
), | ||
"", | ||
)[self.releaselevel == "final"] | ||
return ( | ||
"{}.{}.{}".format(self.major, self.minor, self.micro) | ||
+ ( | ||
"{}{}{}".format( | ||
"r" if self.releaselevel[0] == "c" else "", | ||
self.releaselevel[0], | ||
self.serial, | ||
), | ||
"", | ||
)[self.releaselevel == "final"] | ||
) | ||
|
||
def __str__(self): | ||
return "{} {} / {}".format(__name__, self.__version__, __version_time__) | ||
|
@@ -125,8 +128,8 @@ def __repr__(self): | |
) | ||
|
||
|
||
__version_info__ = version_info(3, 0, 7, "final", 0) | ||
__version_time__ = "15 Jan 2022 04:10 UTC" | ||
__version_info__ = version_info(3, 0, 9, "final", 0) | ||
__version_time__ = "05 May 2022 07:02 UTC" | ||
__version__ = __version_info__.__version__ | ||
__versionTime__ = __version_time__ | ||
__author__ = "Paul McGuire <[email protected]>" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.