| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
|
||
| @final | ||
| class Interpolation: | ||
| value: Any # TODO: consider making `Interpolation` generic in runtime |
There was a problem hiding this comment.
We should also consider making Template generic over a TypeVarTuple. I think being able to have values return the proper types is quite valuable. (Of course, this needs some special coding by type checkers, but template strings will need that anyway.)
Sorry, something went wrong.
| class Interpolation: | ||
| value: Any # TODO: consider making `Interpolation` generic in runtime | ||
| expression: str | ||
| conversion: Literal["a", "r", "s"] | None |
There was a problem hiding this comment.
Mini rant: Why they used these arcane letters instead of just "repr", "str", and "ascii" is beyond me.
Sorry, something went wrong.
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
No description provided.