Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
trs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Taddeüs Kroes
trs
Commits
2304214e
Commit
2304214e
authored
13 years ago
by
Taddeus Kroes
Browse files
Options
Downloads
Patches
Plain Diff
Modified some hint messages.
parent
864949a2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/rules/fractions.py
+2
-2
2 additions, 2 deletions
src/rules/fractions.py
with
2 additions
and
2 deletions
src/rules/fractions.py
+
2
−
2
View file @
2304214e
...
@@ -45,7 +45,7 @@ def division_by_one(root, args):
...
@@ -45,7 +45,7 @@ def division_by_one(root, args):
return
args
[
0
]
return
args
[
0
]
MESSAGES
[
division_by_one
]
=
_
(
'
Division
of {1} by 1 reduces to {1}
.
'
)
MESSAGES
[
division_by_one
]
=
_
(
'
Division
by 1 yields the nominator
.
'
)
def
division_of_zero
(
root
,
args
):
def
division_of_zero
(
root
,
args
):
...
@@ -65,7 +65,7 @@ def division_by_self(root, args):
...
@@ -65,7 +65,7 @@ def division_by_self(root, args):
return
L
(
1
)
return
L
(
1
)
MESSAGES
[
division_by_self
]
=
_
(
'
Division of {1} by
{1}
reduces to 1.
'
)
MESSAGES
[
division_by_self
]
=
_
(
'
Division of {1} by
itself
reduces to 1.
'
)
def
match_add_constant_fractions
(
node
):
def
match_add_constant_fractions
(
node
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment