mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Add codecs.BOM* constants (#6515)
This commit is contained in:
@@ -5,6 +5,11 @@ from abc import abstractmethod
|
||||
from typing import IO, Any, BinaryIO, Callable, Generator, Iterable, Iterator, Protocol, TextIO, Tuple, Type, TypeVar, overload
|
||||
from typing_extensions import Literal
|
||||
|
||||
BOM32_BE: bytes
|
||||
BOM32_LE: bytes
|
||||
BOM64_BE: bytes
|
||||
BOM64_LE: bytes
|
||||
|
||||
# TODO: this only satisfies the most common interface, where
|
||||
# bytes is the raw form and str is the cooked form.
|
||||
# In the long run, both should become template parameters maybe?
|
||||
|
||||
Reference in New Issue
Block a user