mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #17907: touch up the code for imp.new_module().
This commit is contained in:
parent
15e489f7c5
commit
a3c96154d2
8 changed files with 3700 additions and 3558 deletions
|
@ -205,6 +205,9 @@ file paths.
|
|||
If :attr:`sys.implementation.cache_tag` is ``None``, then
|
||||
:exc:`NotImplementedError` is raised.
|
||||
|
||||
.. deprecated:: 3.4
|
||||
Use :func:`importlib.util.cache_from_source` instead.
|
||||
|
||||
|
||||
.. function:: source_from_cache(path)
|
||||
|
||||
|
@ -220,6 +223,9 @@ file paths.
|
|||
Raise :exc:`NotImplementedError` when
|
||||
:attr:`sys.implementation.cache_tag` is not defined.
|
||||
|
||||
.. deprecated:: 3.4
|
||||
Use :func:`importlib.util.source_from_cache` instead.
|
||||
|
||||
|
||||
.. function:: get_tag()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue