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
Next Next commit
Amend 3625d34
  • Loading branch information
skirpichev committed Feb 11, 2023
commit b0dca38aa3e0af061127bac6a1225cb05eaadfa4
2 changes: 1 addition & 1 deletion Lib/fractions.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def from_decimal(cls, dec):

@classmethod
def _from_pair(cls, numerator, denominator, /):
Comment thread
skirpichev marked this conversation as resolved.
Outdated
"""Convert a pair of int's to a rational number.
"""Convert a pair of int's to a rational number, for internal use.
Comment thread
skirpichev marked this conversation as resolved.
Outdated

The ratio of integers should be in lowest terms and
the denominator is positive.
Expand Down