Skip to content

Commit 7b73cb5

Browse files
committed
chore: cosmetic fixes after rebase
1 parent 91d0232 commit 7b73cb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/dataclasses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ def _get_type_from_annotation(annotation, cls):
809809
return None
810810

811811
# Note: _MODULE_IDENTIFIER_RE guarantees that path is non-empty
812-
path = match.group(1).split(".")
812+
path = match[1].split(".")
813813
root = sys.modules.get(cls.__module__)
814814
for path_item in path:
815815
root = getattr(root, path_item.strip(), None)

0 commit comments

Comments
 (0)