Skip to content

Commit 8399619

Browse files
Update ir.py
1 parent 9ff3a7c commit 8399619

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

mypyc/test-data/fixtures/ir.py

Lines changed: 2 additions & 1 deletion
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
7+
overload, Mapping, Union, Callable, Sequence, FrozenSet, Protocol, Literal,
88
)
99

1010
_T = TypeVar('_T')
@@ -123,6 +123,7 @@ def removeprefix(self, prefix: str, /) -> str: ...
123123
def removesuffix(self, suffix: str, /) -> str: ...
124124
def islower(self) -> bool: ...
125125
def count(self, substr: str, start: Optional[int] = None, end: Optional[int] = None) -> int: pass
126+
def to_bytes(self, length: int, order: Literal["small", "big"], signed: bool = False) -> bytes: pass
126127

127128
class float:
128129
def __init__(self, x: object) -> None: pass

0 commit comments

Comments
 (0)