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
80eb276b
Commit
80eb276b
authored
Jan 05, 2021
by
张英杰
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'gm/master' into 'master'
str(x) --> text(x) See merge request
!1
parents
4add4db9
34156cff
Show 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 @
80eb276b
...
@@ -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