bpo-36896: Clarify that some types constructors are unstable (GH-13271)

This commit is contained in:
Matthias Bussonnier 2019-06-02 17:43:22 -07:00 committed by Petr Viktorin
parent 1e375c6269
commit 13136e83a6
2 changed files with 5 additions and 0 deletions

View File

@ -98,6 +98,9 @@ the types that arise only incidentally during processing such as the
Typical use of these names is for :func:`isinstance` or
:func:`issubclass` checks.
If you instantiate any of these types, note that signatures may vary between Python versions.
Standard names are defined for the following types:
.. data:: FunctionType

View File

@ -0,0 +1,2 @@
Clarify that some types have unstable constructor signature between Python
versions.