[Checkins] [zopefoundation/zope.app.apidoc] d34948: Handle keyword-only args and annotations on Python...

GitHub noreply at github.com
Thu May 25 13:13:01 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.app.apidoc
  Commit: d349486cec43f26bb491dfeb0894652f839d3a3a
      https://github.com/zopefoundation/zope.app.apidoc/commit/d349486cec43f26bb491dfeb0894652f839d3a3a
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/app/apidoc/static.py
    M src/zope/app/apidoc/tests.py
    M src/zope/app/apidoc/utilities.py

  Log Message:
  -----------
  Handle keyword-only args and annotations on Python 3.

Just use ``str(inspect.signature(func))``, which is much simpler and
handles everything. The only work we need to do is strip out (self)
when requested.

Fixes #5


  Commit: 4fc967cfedd1424b4d8945b9094201daa9955482
      https://github.com/zopefoundation/zope.app.apidoc/commit/4fc967cfedd1424b4d8945b9094201daa9955482
  Author: Jason Madden <jason+github at nextthought.com>
  Date:   2017-05-25 (Thu, 25 May 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/app/apidoc/static.py
    M src/zope/app/apidoc/tests.py
    M src/zope/app/apidoc/utilities.py

  Log Message:
  -----------
  Merge pull request #7 from zopefoundation/issue5

Handle keyword-only args and annotations on Python 3.


Compare: https://github.com/zopefoundation/zope.app.apidoc/compare/b7bb3451368f...4fc967cfedd1


More information about the checkins mailing list