cpython/Doc/c-api
Brett Cannon 8f5ac5106e Issue #15767: Touch up ModuleNotFoundError usage by import.
Forgot to raise ModuleNotFoundError when None is found in sys.modules.
This led to introducing the C function PyErr_SetImportErrorSubclass()
to make setting ModuleNotFoundError easier.

Also updated the reference docs to mention ModuleNotFoundError
appropriately. Updated the docs for ModuleNotFoundError to mention the
None in sys.modules case.

Lastly, it was noticed that PyErr_SetImportError() was not setting an
exception when returning None in one case. That issue is now fixed.
2013-06-12 23:29:18 -04:00
..
abstract.rst
allocation.rst
apiabiversion.rst Remove row-spanning cell, which the Sphinx text writer does not support. 2013-03-16 08:01:49 +01:00
arg.rst #16518: use "bytes-like object" throughout the docs. 2013-05-04 18:06:34 +03:00
bool.rst
buffer.rst Closes #4159: add LaTeX tabular column specifications to tables that otherwise are cut off or have overlapping text. 2013-03-28 13:28:44 +01:00
bytearray.rst #16518: use "bytes-like object" throughout the docs. 2013-05-04 18:06:34 +03:00
bytes.rst Closes #4159: add LaTeX tabular column specifications to tables that otherwise are cut off or have overlapping text. 2013-03-28 13:28:44 +01:00
capsule.rst
cell.rst
code.rst
codec.rst
complex.rst
concrete.rst
conversion.rst
datetime.rst
descriptor.rst
dict.rst fix spelling (#17327) 2013-03-11 12:17:19 -05:00
exceptions.rst Issue #15767: Touch up ModuleNotFoundError usage by import. 2013-06-12 23:29:18 -04:00
file.rst
float.rst
function.rst
gcsupport.rst
gen.rst
import.rst
index.rst Close #15465: Document C API version macros 2013-03-07 23:14:44 +10:00
init.rst Issue #17522: Minor documentation fix 2013-03-23 03:56:16 -07:00
intro.rst Clean up references to the no longer existing PyString_ APIs in our docs. 2013-03-22 13:43:30 -07:00
iter.rst
iterator.rst
list.rst
long.rst Merge with 3.2: Issue #17047: removed doubled words in Doc/*, 2013-03-11 17:26:33 -04:00
mapping.rst
marshal.rst
memory.rst Clean up references to the no longer existing PyString_ APIs in our docs. 2013-03-22 13:43:30 -07:00
memoryview.rst
method.rst
module.rst #17115,17116: Have modules initialize the __package__ and __loader__ 2013-05-04 13:56:58 -04:00
none.rst
number.rst
objbuffer.rst
object.rst Issue #9369: The types of `char*` arguments of PyObject_CallFunction() and 2013-05-29 18:50:54 +03:00
objimpl.rst
refcounting.rst
reflection.rst
sequence.rst
set.rst
slice.rst
stable.rst Close #15465: Document C API version macros 2013-03-07 23:14:44 +10:00
structures.rst
sys.rst
tuple.rst
type.rst
typeobj.rst
unicode.rst Issue #7330: Implement width and precision (ex: "%5.3s") for the format string 2013-05-06 23:11:54 +02:00
utilities.rst
veryhigh.rst #1554133: Document PyOS_InputHook, PyOS_ReadlineFunctionPointer 2013-05-28 21:48:28 -04:00
weakref.rst