mirror of https://github.com/pybind/pybind11
Browse Source
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: " : " => ": " " = " => "="pull/310/head
6 changed files with 71 additions and 28 deletions
Loading…
Reference in new issue