Skip to content

Commit

Permalink
Fix type_name for inner classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatal1ty committed Jan 27, 2021
1 parent 4fbef46 commit 8f92e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mashumaro/meta/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def type_name(t):
return str(t)
else:
try:
return f"{t.__module__}.{t.__name__}"
return f"{t.__module__}.{t.__qualname__}"
except AttributeError:
return str(t)

Expand Down

0 comments on commit 8f92e21

Please sign in to comment.