You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most other languages(Kotlin, Rust, Swift etc) have a void(or equivalent) return type by default. Can an option be added to have an implicit None return type.
deffoo(): # implicit Noneprint("hi")
🆕 Update
Basedmypy 1.3 supports this functionality with the --default-return flag.
sanyassh, Redoubts, phillipuniverse, DetachHead, marcoaaguiar and 26 more