This is straight from PEP 484 — Type Hints documentation:
When used in a type hint, the expression
Noneis considered equivalent totype(None).
And, as you can see most of the examples use None as return type.
This is straight from PEP 484 — Type Hints documentation:
When used in a type hint, the expression
Noneis considered equivalent totype(None).
And, as you can see most of the examples use None as return type.