Skip to content

Add __new__ to old ast.Constant aliases #14397

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

Merged
merged 16 commits into from
Jul 11, 2025
Merged
Prev Previous commit
fix
  • Loading branch information
srittau committed Jul 11, 2025
commit fac6f9a361fd7b034266b2b5e52288258eaf8c0d
2 changes: 0 additions & 2 deletions stdlib/ast.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1099,13 +1099,11 @@ class Constant(expr):
@deprecated("Will be removed in Python 3.14; use value instead")
@property
def n(self) -> _ConstantValue: ...
@deprecated("Will be removed in Python 3.14; use value instead")
@n.setter
def n(self, value: _ConstantValue) -> None: ...
@deprecated("Will be removed in Python 3.14; use value instead")
@property
def s(self) -> _ConstantValue: ...
@deprecated("Will be removed in Python 3.14; use value instead")
@s.setter
def s(self, value: _ConstantValue) -> None: ...

Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy