Skip to content

Commit 38914db

Browse files
Upgrade doc / code following typos fix
1 parent 2cd4cda commit 38914db

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

doc/user_guide/checkers/extensions.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ Code Style checker Messages
8989
readability (it's also faster as it avoids an internal exec call). Disabled
9090
by default!
9191
:consider-math-not-float (R6106): *Consider %smath.%s instead of %s*
92-
Using math.inf or math.nan permits to benefit from typing and it is up to 4 times
93-
faster than a float call (after the initial import of math). This check also
94-
catches typos in float calls as a side effect.
92+
Using math.inf or math.nan permits to benefit from typing and it is up to 4
93+
times faster than a float call (after the initial import of math). This check
94+
also catches typos in float calls as a side effect.
9595

9696

9797
.. _pylint.extensions.comparison_placement:

pylint/extensions/code_style.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ class CodeStyleChecker(BaseChecker):
7878
"R6106": (
7979
"Consider %smath.%s instead of %s",
8080
"consider-math-not-float",
81-
"Using math.inf or math.nan permits to benefit from typing and it is 4 "
82-
"time faster than a float call (after the initial import of math). "
83-
"This check also catch typo in float calls as a side effect.",
81+
"Using math.inf or math.nan permits to benefit from typing and it is up "
82+
"to 4 times faster than a float call (after the initial import of math). "
83+
"This check also catches typos in float calls as a side effect.",
8484
),
8585
}
8686
options = (

0 commit comments

Comments
 (0)