We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Learning the ropes: understanding Python generics

Formal Metadata

Title
Learning the ropes: understanding Python generics
Title of Series
Number of Parts
141
Author
License
CC Attribution - NonCommercial - ShareAlike 4.0 International:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal and non-commercial purpose as long as the work is attributed to the author in the manner specified by the author or licensor and the work or content is shared also in adapted form only under the conditions of this
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
What if you don't want a Cat to be an Animal? What is the Liskov Substitution Principle? And what on earth is contravariance? Discover the answers to these questions and more, as we explore the foundations of generic types in Python. And by the end, you might even understand the weirder errors that Mypy sometimes throws your way.