8000 gh-294: Fix typo of str.partition from _pyproject_toml.py (gh-295) · python/pyperformance@3054f7b · GitHub
[go: up one dir, main page]

Skip to content

Commit 3054f7b

Browse files
authored
gh-294: Fix typo of str.partition from _pyproject_toml.py (gh-295)
1 parent 4bf984d commit 3054f7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyperformance/_pyproject_toml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def parse_entry_point(text):
4444
# See:
4545
# * https://packaging.python.org/specifications/entry-points/#data-model
4646
# * https://www.python.org/dev/peps/pep-0517/#source-trees
47-
module, sep, qualname = text.parition(':')
47+
module, sep, qualname = text.partition(':')
4848
if all(p.isidentifier() for p in module.split('.')):
4949
if not sep or all(p.isidentifier() for p in qualname.split('.')):
5050
return module, qualname

0 commit comments

Comments
 (0)
0