Add :c:func:`PyMapping_GetOptionalItem` function.