Skip to content

Commit b3dc843

Browse files
committed
Upgrade pyparsing to 3.0.9
1 parent f341a3b commit b3dc843

File tree

12 files changed

+169
-136
lines changed

12 files changed

+169
-136
lines changed

news/pyparsing.vendor.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Upgrade pyparsing to 3.0.9

src/pip/_vendor/pyparsing/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ def __repr__(self):
128128
)
129129

130130

131-
__version_info__ = version_info(3, 0, 8, "final", 0)
132-
__version_time__ = "09 Apr 2022 23:29 UTC"
131+
__version_info__ = version_info(3, 0, 9, "final", 0)
132+
__version_time__ = "05 May 2022 07:02 UTC"
133133
__version__ = __version_info__.__version__
134134
__versionTime__ = __version_time__
135135
__author__ = "Paul McGuire <[email protected]>"

src/pip/_vendor/pyparsing/actions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def replace_with(repl_str):
5555
na = one_of("N/A NA").set_parse_action(replace_with(math.nan))
5656
term = na | num
5757
58-
OneOrMore(term).parse_string("324 234 N/A 234") # -> [324, 234, nan, 234]
58+
term[1, ...].parse_string("324 234 N/A 234") # -> [324, 234, nan, 234]
5959
"""
6060
return lambda s, l, t: [repl_str]
6161

0 commit comments

Comments
 (0)