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 5045318 commit 1bf8d39
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 1bf8d39

Please sign in to comment.