No Returntype EnforcedΒΆ

A return type on a method means that the method must return something of that type. This is true, unless for generators. Such methods contains yield or yield from, and must use the Generator returntype. Then, the actual return type is not checked, at all.

../_images/no-returntype-enforced.png