Skip to content

Commit 8d523a0

Browse files
committed
Merge branch 'to-bytes' of https://github.com/BobTheBuidler/mypy into to-bytes
2 parents b346bbf + 5bab265 commit 8d523a0

File tree

1 file changed

+2
-2
lines changed
  • mypyc/test-data/fixtures

1 file changed

+2
-2
lines changed

mypyc/test-data/fixtures/ir.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import _typeshed
55
from typing import (
66
TypeVar, Generic, List, Iterator, Iterable, Dict, Optional, Tuple, Any, Set,
7-
overload, Mapping, Union, Callable, Sequence, FrozenSet, Protocol, Literal,
7+
overload, Mapping, Union, Callable, Sequence, FrozenSet, Protocol,
88
)
99

1010
_T = TypeVar('_T')
@@ -81,7 +81,7 @@ def __lt__(self, n: int) -> bool: pass
8181
def __gt__(self, n: int) -> bool: pass
8282
def __le__(self, n: int) -> bool: pass
8383
def __ge__(self, n: int) -> bool: pass
84-
def to_bytes(self, length: int, order: Literal["small", "big"], signed: bool = False) -> bytes: pass
84+
def to_bytes(self, length: int, order: str, signed: bool = False) -> bytes: pass
8585

8686
class str:
8787
@overload

0 commit comments

Comments
 (0)