mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-23 05:35:13 +00:00
ecced6c5ae
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: " : " => ": " " = " => "=" |
||
---|---|---|
.. | ||
pybind11 |