mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +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?
|
||||
|
||||
@@ -482,10 +482,6 @@ cgi.FieldStorage.read_urlencoded
|
||||
cgi.FieldStorage.skip_lines
|
||||
cgi.print_arguments
|
||||
cgi.print_exception
|
||||
codecs.BOM32_BE
|
||||
codecs.BOM32_LE
|
||||
codecs.BOM64_BE
|
||||
codecs.BOM64_LE
|
||||
codecs.StreamReader.charbuffertype
|
||||
codecs.StreamReader.seek
|
||||
codecs.StreamWriter.seek
|
||||
|
||||
Reference in New Issue
Block a user