Skip to content

Fix strings that were really bytes in typed_ast #624

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 19, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions third_party/3/typed_ast/ast27.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def parse(source: Union[str, bytes], filename: Union[str, bytes] = ..., mode: st
def copy_location(new_node: AST, old_node: AST) -> AST: ...
def dump(node: AST, annotate_fields: bool = ..., include_attributes: bool = ...) -> str: ...
def fix_missing_locations(node: AST) -> AST: ...
def get_docstring(node: AST, clean: bool = ...) -> str: ...
def get_docstring(node: AST, clean: bool = ...) -> Optional[bytes]: ...
def increment_lineno(node: AST, n: int = ...) -> AST: ...
def iter_child_nodes(node: AST) -> Iterator[AST]: ...
def iter_fields(node: AST) -> Iterator[typing.Tuple[str, Any]]: ...
Expand Down Expand Up @@ -247,7 +247,7 @@ class Num(expr):
n = ... # type: Union[int, float]

class Str(expr):
s = ... # type: str
s = ... # type: bytes

class Attribute(expr):
value = ... # type: expr
Expand Down