dropbox / pyannotate

Auto-generate PEP-484 annotations
Apache License 2.0
1.42k stars 59 forks source link

Infer number of callable arguments #8

Open JukkaL opened 6 years ago

JukkaL commented 6 years ago

For callable values, we could infer the number of arguments at least in simple cases where the callable takes a fixed number of positional arguments. The argument types could still be Any, but having the number of arguments would still be helpful.