8000 bump fractions.pyi to 3.14 by mkaraev · Pull Request #14070 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

bump fractions.pyi to 3.14 #14070

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
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
Next Next commit
bump fraction.py to 3.14
  • Loading branch information
mkaraev committed May 28, 2025
commit 584652dbe85dc7d93915813afc601667d1d0fe4c
10 changes: 5 additions & 5 deletions stdlib/fractions.pyi
7CED
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@ class Fraction(Rational):
@overload
def __rdivmod__(a, b: float) -> tuple[float, Fraction]: ...
@overload
def __pow__(a, b: int) -> Fraction: ...
def __pow__(a, b: int, modulo: None = None) -> Fraction: ...
@overload
def __pow__(a, b: float | Fraction) -> float: ...
def __pow__(a, b: float | Fraction, modulo: None = None) -> float: ...
@overload
def __pow__(a, b: complex) -> complex: ...
def __pow__(a, b: complex, modulo: None = None) -> complex: ...
@overload
def __rpow__(b, a: float | Fraction) -> float: ...
def __rpow__(b, a: float | Fraction, modulo: None = None) -> float: ...
@overload
def __rpow__(b, a: complex) -> complex: ...
def __rpow__(b, a: complex, modulo: None = None) -> complex: ...
def __pos__(a) -> Fraction: ...
def __neg__(a) -> Fraction: ...
def __abs__(a) -> Fraction: ...
Expand Down
0