[pyasn1] Remove items removed from 0.6.1 (#12646)

This commit is contained in:
Sebastian Rittau
2024-09-12 11:11:59 +02:00
committed by GitHub
parent a29d6710a5
commit 97ce200343
2 changed files with 1 additions and 26 deletions

View File

@@ -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: ...

View File

@@ -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