mirror of
https://github.com/python/cpython.git
synced 2025-12-07 13:50:06 +00:00
In the linecache module and in the Python implementation of the warnings module, a DeprecationWarning is issued when m.__loader__ differs from m.__spec__.loader (like in the C implementation of the warnings module).
4 lines
254 B
ReStructuredText
4 lines
254 B
ReStructuredText
In the :mod:`linecache` module and in the Python implementation of the
|
|
:mod:`warnings` module, a ``DeprecationWarning`` is issued when
|
|
``mod.__loader__`` differs from ``mod.__spec__.loader`` (like in the C
|
|
implementation of the :mod:`!warnings` module).
|