Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Tweak docstring wording
  • Loading branch information
mdickinson committed Feb 27, 2023
commit 53d5e9407f0588bc2e12f3b919e66a49985be9b9
4 changes: 2 additions & 2 deletions Lib/fractions.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ def from_decimal(cls, dec):
def _from_coprime_ints(cls, numerator, denominator, /):
"""Convert a pair of ints to a rational number, for internal use.

The ratio of integers should be in lowest terms and
the denominator is positive.
The ratio of integers should be in lowest terms and the denominator
should be positive.
"""
obj = super(Fraction, cls).__new__(cls)
obj._numerator = numerator
Expand Down