mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
[pyasn1] Remove items removed from 0.6.1 (#12646)
This commit is contained in:
@@ -1,8 +1 @@
|
||||
from typing import Literal
|
||||
|
||||
implementation: str
|
||||
null: Literal[b""]
|
||||
|
||||
def from_bytes(octets, signed: bool = False): ...
|
||||
def to_bytes(value, signed: bool = False, length: int = 0): ...
|
||||
def bitLength(number): ...
|
||||
def to_bytes(value: int, signed: bool = False, length: int = 0) -> bytes: ...
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
from typing import Literal, TypeVar
|
||||
|
||||
_T = TypeVar("_T")
|
||||
|
||||
ints2octs = bytes
|
||||
|
||||
def int2oct(x) -> bytes: ...
|
||||
|
||||
null: Literal[b""]
|
||||
|
||||
def oct2int(x: _T) -> _T: ...
|
||||
def octs2ints(x: _T) -> _T: ...
|
||||
def str2octs(x: str) -> bytes: ...
|
||||
def octs2str(x: bytes) -> str: ...
|
||||
def isOctetsType(s: object) -> bool: ...
|
||||
def isStringType(s: object) -> bool: ...
|
||||
|
||||
ensureString = bytes
|
||||
Reference in New Issue
Block a user