Skip to content

Commit

Permalink
Removed use of typing.Literal for backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
logicalzero committed Nov 2, 2023
1 parent 19211b1 commit 4550503
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ebmlite/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import struct
import sys
import tempfile
from typing import BinaryIO, Callable, IO, List, Literal, Optional, Tuple, Union
from typing import BinaryIO, Callable, IO, List, Optional, Tuple, Union
from xml.etree import ElementTree as ET

from . import core, encoding, decoding
Expand All @@ -35,7 +35,7 @@


def createID(schema: core.Schema,
idClass: Literal['a', 'b', 'c', 'd', 'A', 'B', 'C', 'D'],
idClass: str,
exclude: Tuple[int] = (),
minId: int = 0x81,
maxId: int = 0x1FFFFFFE,
Expand Down

0 comments on commit 4550503

Please sign in to comment.