Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

Fix conversions.py2to3 on unicode strings #67

Merged
merged 1 commit into from
Jan 9, 2019
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
2 changes: 1 addition & 1 deletion typed_ast/conversions.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def visit_Str(self, s):
if isinstance(s.s, bytes):
return ast3.Bytes(s.s)
else:
return ast3.Str(s.s)
return ast3.Str(s.s, s.kind)

def visit_Num(self, n):
new = self.generic_visit(n)
Expand Down