Media Summary: oops spoiler in the thumbnail it's str.partition, oh well -- I today I talk about typing the two types of starargs and why it's tricky / impossible to get correct - intro to typing / mypy: ... today I talk about why dictionary literals (and other literals) are faster than their function-called counterparts -
Overview

Python Variable Unpackings Beginner Intermediate Anthony Explains 031 - Detailed Analysis

oops spoiler in the thumbnail it's str.partition, oh well -- I today I talk about typing the two types of starargs and why it's tricky / impossible to get correct - intro to typing / mypy: ... today I talk about why dictionary literals (and other literals) are faster than their function-called counterparts - today I talk about reference counting and the `weakref` module and some use cases for weak references (and why they're not ... today I talk about the singleton pattern and a bunch of different ways to implement it in it's here! with ugly new typing syntax and infinitely nestable fstrings and one of the funniest changes I've seen in a while --

today I go over all the tools I use to set up my projects, as well as the differences between 1-file libraries, multi-file libraries, and ... oh hey, it's episode 100! today I talk about one of my favorite ways to make plain-old-data classes in today I talk about insertion ordered dictionaries and when you can rely on them (cpython3.6+) and the differences between ... today I show how to easily make classes comparable in today I show how imports work and how functions retain access to their global today we go over the brand new variadic generics and how they change the type system (finally type-able `*args`!) - generics: ...

today I talk about `nonlocal` and how you can use it to modify today I show a common swapping technique in

Gallery

Photo Gallery

Related

Related Patients