Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
trs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
trs
Commits
703d0888
Commit
703d0888
authored
Jun 15, 2012
by
Taddeüs Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed some unused imports in accordance with pyflakes.
parent
aaf0df25
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
6 deletions
+2
-6
src/backend/backend.py
src/backend/backend.py
+0
-2
src/node.py
src/node.py
+0
-1
src/parser.py
src/parser.py
+2
-3
No files found.
src/backend/backend.py
View file @
703d0888
...
@@ -175,6 +175,4 @@ def start_server(app, port):
...
@@ -175,6 +175,4 @@ def start_server(app, port):
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
import
sys
start_server
(
app
,
int
(
sys
.
argv
[
1
])
if
len
(
sys
.
argv
)
>
1
else
DEFAULT_PORT
)
start_server
(
app
,
int
(
sys
.
argv
[
1
])
if
len
(
sys
.
argv
)
>
1
else
DEFAULT_PORT
)
src/node.py
View file @
703d0888
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
import
os.path
import
os.path
import
sys
import
sys
import
copy
import
copy
import
re
sys
.
path
.
insert
(
0
,
os
.
path
.
realpath
(
'external'
))
sys
.
path
.
insert
(
0
,
os
.
path
.
realpath
(
'external'
))
...
...
src/parser.py
View file @
703d0888
...
@@ -26,14 +26,13 @@ sys.path.insert(0, PYBISON_BUILD)
...
@@ -26,14 +26,13 @@ sys.path.insert(0, PYBISON_BUILD)
sys
.
path
.
insert
(
1
,
EXTERNAL_MODS
)
sys
.
path
.
insert
(
1
,
EXTERNAL_MODS
)
from
pybison
import
BisonParser
,
BisonSyntaxError
from
pybison
import
BisonParser
,
BisonSyntaxError
from
graph_drawing.graph
import
generate_graph
from
graph_drawing.line
import
pred
from
graph_drawing.line
import
pred
from
node
import
ExpressionNode
as
Node
,
\
from
node
import
ExpressionNode
as
Node
,
\
ExpressionLeaf
as
Leaf
,
OP_MAP
,
OP_DXDER
,
TOKEN_MAP
,
TYPE_OPERATOR
,
\
ExpressionLeaf
as
Leaf
,
OP_MAP
,
OP_DXDER
,
TOKEN_MAP
,
TYPE_OPERATOR
,
\
OP_COMMA
,
OP_MUL
,
OP_POW
,
OP_LOG
,
OP_ADD
,
Scope
,
E
,
OP_ABS
,
\
OP_COMMA
,
OP_MUL
,
OP_POW
,
OP_LOG
,
OP_ADD
,
Scope
,
E
,
OP_ABS
,
\
DEFAULT_LOGARITHM_BASE
,
OP_VALUE_MAP
,
SPECIAL_TOKENS
,
OP_INT
,
\
DEFAULT_LOGARITHM_BASE
,
SPECIAL_TOKENS
,
OP_INT
,
OP_INT_INDEF
,
\
OP_INT_INDEF
,
INFINITY
,
OP_PRIME
,
OP_DIV
INFINITY
,
OP_PRIME
,
OP_DIV
from
rules.utils
import
find_variable
from
rules.utils
import
find_variable
from
rules.precedences
import
IMPLICIT_RULES
from
rules.precedences
import
IMPLICIT_RULES
from
strategy
import
find_possibilities
from
strategy
import
find_possibilities
...
...
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