<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 01/25/2014 03:34 AM, Anders J. Munch
      wrote:<br>
    </div>
    <blockquote cite="mid:52E3A12E.1070804@jmunch.dk" type="cite">Larry
      Hastings wrote:
      <br>
      <blockquote type="cite">
        <br>
        inspect.signature gets this right:
        <br>
        <br>
            >>> import inspect
        <br>
            >>> str(inspect.signature(c.foo))
        <br>
            '(a)'
        <br>
        <br>
      </blockquote>
      <br>
      Not always.
      <br>
      <br>
      : Python 3.4.0b2+ (default:32f9e0ae23f7, Jan 18 2014, 13:56:31)
      <br>
      : [GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin
      <br>
      : Type "help", "copyright", "credits" or "license" for more
      information.
      <br>
      : >>> import inspect
      <br>
      : >>> class C1:
      <br>
      : ...     def f(*args, **kwargs): pass
      <br>
      : ...
      <br>
      : >>> c = C1()
      <br>
      : >>> c.f()
      <br>
      : >>> str(inspect.signature(c.f))
      <br>
      : '(**kwargs)'<br>
    </blockquote>
    <br>
    File a bug, if there hasn't already been one filed.<br>
    <br>
    <br>
    <i>/arry</i><br>
  </body>
</html>