:orphan:
.. _s_11PytoRuntime6MethodV9signatureAA9SignatureVyKcSgvp:
``signature``
=============
A closure returning the method’s signature.
.. raw:: html
.. rubric:: Declaration
.. raw:: html
.. rubric:: Discussion
It must not contain ``self``or ``cls`` in any case. If no signature is provided, ``(*args, **kwargs)`` will be the default.
:swift:symbol:`PytoRuntime.ArgumentParser` requires methods to have a signature with explicit arguments for parsing.