Patty C
Jun 2, 2021

The pipe is an "or" operator. (You can also use it in your type hints in python 3.10 instead of union!)

I know you implied it, but I think it's nice to be explicit when we're talking about new language features for people new to programming to understand what's going on.

Patty C
Patty C

Written by Patty C

Data Architect, Software Engineer, Data Scientist, moonlighting Bio-informatician.

No responses yet