• Dean Moldovan's avatar
    Use generic arg names for functions without explicitly named arguments · ecced6c5
    Dean Moldovan authored
    Example signatures (old => new):
      foo(int) => foo(arg0: int)
      bar(Object, int) => bar(self: Object, arg0: int)
    
    The change makes the signatures uniform for named and unnamed arguments
    and it helps static analysis tools reconstruct function signatures from
    docstrings.
    
    This also tweaks the signature whitespace style to better conform to
    PEP 8 for annotations and default arguments:
      " : " => ": "
      " = " => "="
    ecced6c5
example-callbacks.ref 945 Bytes