← Back to DAGDA | Support | Source: https://github.com/python/cpython/pull/13271/commits/f26a1a3e16c8fc96e1d2791b228ad6a941d63c16
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
bpo-36896: Clarify that some types constructors are unstable
At least it will represent the current state, which seem to be a
consensus; but is not explicit.
  • Loading branch information
Carreau authored and Matthias Bussonnier committed May 31, 2019
commit f26a1a3e16c8fc96e1d2791b228ad6a941d63c16
3 changes: 3 additions & 0 deletions Doc/library/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Clarify that some types have unstable constructor signature between Python
versions.