Skip to content

Commit

Permalink
Revert "Mark ErrorCodes as serializable (python#15218)"
Browse files Browse the repository at this point in the history
This reverts commit 16b5922.
  • Loading branch information
cdce8p committed May 30, 2023
1 parent 3125c32 commit b426c9c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mypy/errorcodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,10 @@
from collections import defaultdict
from typing_extensions import Final

from mypy_extensions import mypyc_attr

error_codes: dict[str, ErrorCode] = {}
sub_code_map: dict[str, set[str]] = defaultdict(set)


@mypyc_attr(serializable=True)
class ErrorCode:
def __init__(
self,
Expand Down

0 comments on commit b426c9c

Please sign in to comment.