gvanrossum / patma

Pattern Matching
1.03k stars 65 forks source link

Add a patern matching example for working with DB rows #132

Closed natelust closed 4 years ago

natelust commented 4 years ago

This commit shows using pattern matching for working with rows returned from a database, and for signaling return conditions from a function call.

natelust commented 4 years ago

No linguistic issue, in my work we have "tracts" with are tessellated regions of the sky. I guess my brain and fingers are just too programmed to write a 't' when typing out the preceding characters :)

Thanks for the catch, updated and forced pushed on my end