File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
import datetime
2
- from _typeshed import Incomplete , SupportsItems
2
+ from _typeshed import Incomplete , ReadableBuffer , SupportsItems
3
3
from collections .abc import Callable , Iterable , Mapping
4
4
from types import BuiltinFunctionType , FunctionType , ModuleType
5
5
from typing import Any , ClassVar , NoReturn , TypeVar
@@ -40,7 +40,7 @@ class SafeRepresenter(BaseRepresenter):
40
40
def ignore_aliases (self , data ) -> bool : ...
41
41
def represent_none (self , data ) -> ScalarNode : ...
42
42
def represent_str (self , data : str ) -> ScalarNode : ...
43
- def represent_binary (self , data : bytes ) -> ScalarNode : ...
43
+ def represent_binary (self , data : ReadableBuffer ) -> ScalarNode : ...
44
44
def represent_bool (self , data : bool ) -> ScalarNode : ...
45
45
def represent_int (self , data : int ) -> ScalarNode : ...
46
46
def represent_float (self , data : float ) -> ScalarNode : ...
You can’t perform that action at this time.
0 commit comments