Skip to content

Commit 1f25e52

Browse files
committed
move avro stub files to 2and3/ and replace unicode by Text
1 parent 8443b48 commit 1f25e52

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
File renamed without changes.

typeshed/2.7/avro/schema.pyi renamed to typeshed/2and3/avro/schema.pyi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# NOTE: This dynamically typed stub was automatically generated by stubgen.
44

5-
from typing import Any, Union, Dict, List
5+
from typing import Any, Union, Dict, List, Text
66

77
PRIMITIVE_TYPES = ... # type: Any
88
NAMED_TYPES = ... # type: Any
@@ -32,9 +32,9 @@ class Name:
3232
class Names:
3333
names = ... # type: Any
3434
default_namespace = ... # type: Any
35-
def __init__(self, default_namespace: Union[str, unicode] = None) -> None: ...
36-
def has_name(self, name_attr: Union[str, unicode], space_attr: Union[str, unicode]) -> bool: ...
37-
def get_name(self, name_attr: Union[str, unicode], space_attr: Union[str, unicode]) -> Schema: ...
35+
def __init__(self, default_namespace: Union[str, Text] = None) -> None: ...
36+
def has_name(self, name_attr: Union[str, Text], space_attr: Union[str, Text]) -> bool: ...
37+
def get_name(self, name_attr: Union[str, Text], space_attr: Union[str, Text]) -> Schema: ...
3838
def prune_namespace(self, properties): ...
3939
def add_name(self, name_attr, space_attr, new_schema): ...
4040

0 commit comments

Comments
 (0)