FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add default value for `expression` parameter of `string.templatelib.Interpolation` by brianschubert · Pull Request #14403 · python/typeshed · GitHub

Add default value for expression parameter of string.templatelib.Interpolation - #14403

Merged
srittau merged 1 commit into
python:mainfrom
brianschubert:stdlib-templatelib-expr-default
Jul 12, 2025
Merged

Add default value for expression parameter of string.templatelib.Interpolation#14403
srittau merged 1 commit into
python:mainfrom
brianschubert:stdlib-templatelib-expr-default

Conversation

Copy link
Copy Markdown
Collaborator

For reference: python/cpython#136441

Python 3.14.0b4+ (heads/3.14:33f561d, Jul 12 2025, 09:45:01) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import string.templatelib
>>> string.templatelib.Interpolation(123)
Interpolation(123, '', None, '')

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

srittau merged commit eba42bd into python:main Jul 12, 2025
64 checks passed
brianschubert deleted the stdlib-templatelib-expr-default branch July 12, 2025 17:19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL