Skip to content

Commit

Permalink
for consistency, remove Finals that dont help mypyc
Browse files Browse the repository at this point in the history
  • Loading branch information
hukkin committed Jan 10, 2025
1 parent b5be389 commit 4e1568f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tomli/_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,8 @@ def append_nest_to_list(self, key: Key) -> None:

class Output:
def __init__(self) -> None:
self.data: Final = NestedDict()
self.flags: Final = Flags()
self.data = NestedDict()
self.flags = Flags()


def skip_chars(src: str, pos: Pos, chars: Iterable[str]) -> Pos:
Expand Down

0 comments on commit 4e1568f

Please sign in to comment.