~ $ cat hint_test.py
class ContactForm:
def __init__(self):
self.name = none
self.age = none
def assetContactForm(ContactForm form, string name, int age):
form.name = name
form.birth = age
return form
~ $
~ $ python hint_test.py
File "hint_test.py", line 6
def assetContactForm(ContactForm form, string name, int age):
^
SyntaxError: invalid syntax
~ $
~ $ pylint hint_test.py
Using config file /data/data/com.termux/files/home/.pylintrc
************* Module hint_test
E: 6, 0: invalid syntax (<string>, line 6) (syntax-error)
~ $
Jak vidis, tak tuhle blbost ti python odchytne. Tvrzeni ze typing z pythonu udela staticky typovany jazyk je dalsi nesmysl. Az se prokouses moznostmi a schopnostmi typingu, probereme si moznosti cythonu.