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
Nitpick on docstring (int's -> ints)
  • Loading branch information
skirpichev committed Feb 27, 2023
commit 3a8506dc2b5962600fbe140956b03c495910e41c
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, for internal use.
"""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.
Expand Down