Media Summary: today I talk about why mypy doesn't need an annotation for the first argument! - introduction to today I talk about the approach I take to gradual today I talk about why I pick -˃ int for return values for main functions instead of -˃ None (which works)! - testable command lines: ...

Typing Self Pep 673 Intermediate Anthony Explains 418 - Detailed Analysis & Overview

today I talk about why mypy doesn't need an annotation for the first argument! - introduction to today I talk about the approach I take to gradual today I talk about why I pick -˃ int for return values for main functions instead of -˃ None (which works)! - testable command lines: ... today I talk about the difference between object and Any when today I follow up to the video about Protocol and show for doing some light structural today I show you what the `TYPE_CHECKING` constant is in the

today I talk about Optional and a few approaches to today I talk about an all-too-common problem when ParamSpec / TypeVar / Callable oh my! this skips all of that and gives a simple easy-to-reuse decorator (and more!) today I show a little quirk of `repr` and how it doesn't quite act like `__repr__`! - what is repr? playlist: ...

Photo Gallery

typing Self (PEP 673) (intermediate) anthony explains #418
python typing: explicit TypeAlias (PEP 613) (intermediate) anthony explains #365
python typing: why not self? (intermediate) anthony explains #076
typing: what is Type[X]? (intermediate) anthony explains #096
opinion: don't bother typing tests (intermediate) anthony explains #347
typing: why main() -˃ int (beginner - intermediate) anthony explains #110
python typing: object vs Any (intermediate) anthony explains #275
python typing: Optional is not optional! (intermediate) anthony explains #146
python typing: aliases (beginner - intermediate) anthony explains #180
typing: Protocol + @runtime_checkable (intermediate) anthony explains #187
introduction to python typing + mypy (beginner - intermediate) anthony explains #047
python typing: TYPE_CHECKING (intermediate) anthony explains #312
Sponsored
Sponsored
View Detailed Profile
Sponsored
Sponsored