[PySide] The Signature Module for PySide2

Christian Tismer tismer at stackless.com
Thu Sep 21 15:25:55 CEST 2017


> Hi friends,
> 
> there is the new signature module for PySide2.
> It adds the __signature__ attribute to all PySide2
> functions and constructors.
> 
> Example usage:
> 
>>>> PySide2.QtWidgets.QGraphicsAnchorLayout.addAnchors.__signature__
>>>> PySide2.QtWidgets.QGraphicsAnchorLayout.__signature__
> 
> will print all annotations, defaults and return values.
> 
> The feature supports Python 2.7 and Python 3.4 and up.
> See further info at
> 
>     https://bugreports.qt.io/browse/PYSIDE-510
> 
> https://github.com/pyside/pyside2-setup/blob/5.6/sources/shiboken2/libshiboken/signature.cpp

https://github.com/pyside/pyside2-setup/tree/5.6/sources/pyside2/PySide2/support/signature

-- 
Christian Tismer             :^)   tismer at stackless.com
Software Consulting          :     http://www.stackless.com/
Karl-Liebknecht-Str. 121     :     https://github.com/PySide
14482 Potsdam                :     GPG key -> 0xFB7BEE0E
phone +49 173 24 18 776  fax +49 (30) 700143-0023

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 522 bytes
Desc: OpenPGP digital signature
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20170921/d5809497/attachment.sig>


More information about the PySide mailing list