cs3110 / textbook

The CS 3110 Textbook, "OCaml Programming: Correct + Efficient + Beautiful"
Other
738 stars 134 forks source link

Structural Pattern Matching is supported since Python 3.10 #187

Open muzimuzhi opened 2 months ago

muzimuzhi commented 2 months ago

The section 1.3. Look to Your Future ends with

Python just announced plans to support pattern matching in February 2021. https://github.com/cs3110/textbook/blob/1b4d607d7429beed7d992dce9e226c892797dc98/src/chapters/intro/future.md?plain=1#L30-L32

which can be updated.

Structural Pattern Matching is supported since Python 3.10, released in Oct 2021.

See