Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions mypy_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ def trait(cls):
return cls


def mypyc_attr(*attrs, **kwattrs):
return lambda x: x


# TODO: We may want to try to properly apply this to any type
# variables left over...
class _FlexibleAliasClsApplied:
Expand Down