mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
32 lines
619 B
Python
32 lines
619 B
Python
from collections import namedtuple
|
|
from typing import Any, Optional
|
|
|
|
PY2: Any
|
|
|
|
_Writer = namedtuple("_Writer", "writerow writerows")
|
|
unichr = unichr
|
|
text_type = unicode
|
|
string_types: Any
|
|
|
|
def to_native(source, encoding: str = ..., falsy_empty: bool = ...): ...
|
|
|
|
integer_types: Any
|
|
|
|
def implements_to_string(cls): ...
|
|
def implements_iterator(cls): ...
|
|
def csv_reader(stream, **params) -> None: ...
|
|
def csv_writer(stream, **params): ...
|
|
|
|
unichr = chr
|
|
text_type = str
|
|
imap = map
|
|
izip = zip
|
|
ifilter = filter
|
|
|
|
def reraise(tp, value, tb: Optional[Any] = ...) -> None: ...
|
|
|
|
_reader: Any
|
|
_writer: Any
|
|
|
|
def to_text(source): ...
|