Reviewed: https://review.openstack.org/514336 Committed: https://git.openstack.org/cgit/openstack/ospurge/commit/?id=b73c938a93dc90839515df1dae285e9dd492aca9 Submitter: Zuul Branch: master
commit b73c938a93dc90839515df1dae285e9dd492aca9 Author: Victor Stinner <email address hidden> Date: Mon Oct 23 16:15:22 2017 +0200
Python 2: Move type annotations to .pyi files
Python 2 doesn't support type annotations: raise SyntaxError. Move them to separated .pyi files to add Python 2 support without loosing annotations.
Keep inline comments like "# type: Optional[str]".
Related-Bug: 1726399 Change-Id: Ib1a837e88cf76908f1007b3881703ffb433e6c2f
Reviewed: https:/ /review. openstack. org/514336 /git.openstack. org/cgit/ openstack/ ospurge/ commit/ ?id=b73c938a93d c90839515df1dae 285e9dd492aca9
Committed: https:/
Submitter: Zuul
Branch: master
commit b73c938a93dc908 39515df1dae285e 9dd492aca9
Author: Victor Stinner <email address hidden>
Date: Mon Oct 23 16:15:22 2017 +0200
Python 2: Move type annotations to .pyi files
Python 2 doesn't support type annotations: raise SyntaxError. Move
them to separated .pyi files to add Python 2 support without loosing
annotations.
Keep inline comments like "# type: Optional[str]".
Related-Bug: 1726399 08f1007b3881703 ffb433e6c2f
Change-Id: Ib1a837e88cf769