Cache the result of :c:func:`PyCode_GetCode` function to restore the O(1) lookup of the :attr:`~types.CodeType.co_code` attribute.