[codemod] Fix non-matching bracket pairs (GH-28473)

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>
This commit is contained in:
Mohamad Mansour 2021-09-22 02:09:00 +03:00 committed by GitHub
parent a007347100
commit 8f943ca257
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 35 additions and 33 deletions

View file

@ -672,7 +672,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.
"""
global _NAME_PATTERN
if _NAME_PATTERN is None: