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 Issue #14090: fix some minor C API problems in default branch (3.3) 2012-06-03 08:07:47 +03:00
codec.rst
complex.rst Issue #13522: Fix _Py_co_pow() documentation 2011-12-18 02:56:18 +01:00
concrete.rst
conversion.rst Issue #14090: fix some minor C API problems in default branch (3.3) 2012-06-03 08:07:47 +03:00
datetime.rst Issue #13727: Add 3 macros to access PyDateTime_Delta members: 2012-01-17 21:31:50 +01:00
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 Fix rst markup. 2012-09-20 08:33:53 +03:00
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 Add PyMemoryView_FromMemory() to whatsnew/3.3. 2012-02-29 17:27:21 +01:00
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 Remove already dropped function PySys_GetFile from documentation. 2012-10-31 12:02:56 +02:00
tuple.rst
type.rst Fix whitespace. 2012-06-23 23:21:48 +02:00
typeobj.rst Issue #14181: Improve clarity in the documentation for the multi-purpose 2012-03-06 14:55:06 +01:00
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