diff options
author | Mohamad Mansour <66031317+mohamadmansourX@users.noreply.github.com> | 2021-09-21 23:09:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-21 23:09:00 (GMT) |
commit | 8f943ca25732d548cf9f0b0393ba8d582fb93e29 (patch) | |
tree | 95cffeb379a4ded4c1c753bdaf29ea79916e04d2 /Lib/pkgutil.py | |
parent | a0073471002bed0169fb806703e26880bbcceb73 (diff) | |
download | cpython-8f943ca25732d548cf9f0b0393ba8d582fb93e29.zip cpython-8f943ca25732d548cf9f0b0393ba8d582fb93e29.tar.gz cpython-8f943ca25732d548cf9f0b0393ba8d582fb93e29.tar.bz2 |
[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>
Diffstat (limited to 'Lib/pkgutil.py')
-rw-r--r-- | Lib/pkgutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pkgutil.py b/Lib/pkgutil.py index 48c1479..bdebfd2 100644 --- a/Lib/pkgutil.py +++ b/Lib/pkgutil.py @@ -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: |