File: strings.pyi

package info (click to toggle)
python-librt 0.7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 920 kB
  • sloc: ansic: 13,889; python: 293; makefile: 6
file content (13 lines) | stat: -rw-r--r-- 406 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
from typing import final

from mypy_extensions import i64, u8

@final
class BytesWriter:
    def append(self, /, x: int) -> None: ...
    def write(self, /, b: bytes) -> None: ...
    def getvalue(self) -> bytes: ...
    def truncate(self, /, size: i64) -> None: ...
    def __len__(self) -> i64: ...
    def __getitem__(self, /, i: i64) -> u8: ...
    def __setitem__(self, /, i: i64, x: u8) -> None: ...