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
a25fe844
Commit
a25fe844
authored
Jan 21, 2012
by
Sander Mathijs van Veen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed two typos in docstring.
parent
96e20bcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/possibilities.py
src/possibilities.py
+2
-2
No files found.
src/possibilities.py
View file @
a25fe844
...
@@ -32,11 +32,11 @@ def filter_duplicates(possibilities):
...
@@ -32,11 +32,11 @@ def filter_duplicates(possibilities):
"""
"""
Filter duplicated possibilities. Duplicated possibilities occur in n-ary
Filter duplicated possibilities. Duplicated possibilities occur in n-ary
nodes, the root-level node and a lower-level node will both recognize a
nodes, the root-level node and a lower-level node will both recognize a
rewrite possibility within their s
s
cope, whereas only the root-level one
rewrite possibility within their scope, whereas only the root-level one
matters.
matters.
Example: 1 + 2 + 3
Example: 1 + 2 + 3
The addition of 1 and 2 is recognized b
ij
n-ary additions "1 + 2" and
The addition of 1 and 2 is recognized b
y
n-ary additions "1 + 2" and
"1 + 2 + 3". The "1 + 2" addition should be removed by this function.
"1 + 2 + 3". The "1 + 2" addition should be removed by this function.
"""
"""
features
=
[]
features
=
[]
...
...
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