mirror of
https://github.com/johndoe6345789/typthon.git
synced 2026-04-24 13:45:05 +00:00
Fix final Py_ patterns - uintptr, arithmetic shift, inc files
- Fixed Py_uintptr_t → Ty_uintptr_t - Fixed Py_ARITHMETIC_RIGHT_SHIFT → Ty_ARITHMETIC_RIGHT_SHIFT - Fixed PyTypeObject, PyNumberMethods, PyAsyncMethods in .inc files Build is nearing completion. Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
@@ -3014,7 +3014,7 @@ to_bool_fail_kind(TyObject *value)
|
||||
static int
|
||||
check_type_always_true(TyTypeObject *ty)
|
||||
{
|
||||
PyNumberMethods *nb = ty->tp_as_number;
|
||||
TyNumberMethods *nb = ty->tp_as_number;
|
||||
if (nb && nb->nb_bool) {
|
||||
return SPEC_FAIL_TO_BOOL_NUMBER;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user