mirror of
https://github.com/python/cpython.git
synced 2025-08-11 04:19:06 +00:00
[3.9] [codemod] Fix non-matching bracket pairs (GH-28473) (GH-28512)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>.
(cherry picked from commit 8f943ca257
)
Co-authored-by: Mohamad Mansour <66031317+mohamadmansourX@users.noreply.github.com>
This commit is contained in:
parent
09390c837a
commit
5482db5800
27 changed files with 43 additions and 44 deletions
|
@ -673,7 +673,7 @@ def resolve_name(name):
|
|||
ValueError - if `name` isn't in a recognised format
|
||||
ImportError - if an import failed when it shouldn't have
|
||||
AttributeError - if a failure occurred when traversing the object hierarchy
|
||||
within the imported package to get to the desired object)
|
||||
within the imported package to get to the desired object.
|
||||
"""
|
||||
m = _NAME_PATTERN.match(name)
|
||||
if not m:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue