Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
arpeggio-gm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
backend
arpeggio-gm
Commits
34156cff
Commit
34156cff
authored
Apr 09, 2015
by
郭家华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
str(x) --> text(x)
parent
4add4db9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
__init__.py
arpeggio/__init__.py
+1
-1
No files found.
arpeggio/__init__.py
View file @
34156cff
...
@@ -881,7 +881,7 @@ class NonTerminal(ParseTreeNode, list):
...
@@ -881,7 +881,7 @@ class NonTerminal(ParseTreeNode, list):
return
self
.
name
return
self
.
name
def
__str__
(
self
):
def
__str__
(
self
):
return
" | "
.
join
([
str
(
x
)
for
x
in
self
])
return
" | "
.
join
([
text
(
x
)
for
x
in
self
])
def
__unicode__
(
self
):
def
__unicode__
(
self
):
return
self
.
__str__
()
return
self
.
__str__
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment