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
d75fb603
Commit
d75fb603
authored
Feb 20, 2012
by
Sander Mathijs van Veen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed useless left() function.
parent
76b5ebee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
src/node.py
src/node.py
+0
-12
No files found.
src/node.py
View file @
d75fb603
...
@@ -72,18 +72,6 @@ class ExpressionBase(object):
...
@@ -72,18 +72,6 @@ class ExpressionBase(object):
def
clone
(
self
):
def
clone
(
self
):
return
copy
.
deepcopy
(
self
)
return
copy
.
deepcopy
(
self
)
def
left
(
self
):
"""
Return the left-most child of this node. When this instance is a leaf,
the leaf will be returned.
"""
node
=
self
while
not
node
.
is_leaf
:
node
=
node
[
0
]
return
node
def
__lt__
(
self
,
other
):
def
__lt__
(
self
,
other
):
"""
"""
Comparison between this expression{node,leaf} and another
Comparison between this expression{node,leaf} and another
...
...
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