File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -652,10 +652,10 @@ pub unsafe fn Py_IsNone(x: *mut PyObject) -> c_int {
652652#[ inline]
653653pub unsafe fn Py_RETURN_NONE ( ) -> * mut PyObject {
654654 #[ cfg( all( not( GraalPy ) , not( all( Py_3_13 , Py_LIMITED_API ) ) ) ) ]
655- Py_NewRef ( Py_None ( ) )
655+ return Py_NewRef ( Py_None ( ) ) ;
656656
657657 #[ cfg( all( not( GraalPy ) , all( Py_3_13 , Py_LIMITED_API ) ) ) ]
658- Py_None ( )
658+ return Py_None ( ) ;
659659}
660660
661661extern_libpython ! {
@@ -682,10 +682,10 @@ pub unsafe fn Py_NotImplemented() -> *mut PyObject {
682682#[ inline]
683683pub unsafe fn Py_RETURN_NOTIMPLEMENTED ( ) -> * mut PyObject {
684684 #[ cfg( all( not( GraalPy ) , not( all( Py_3_13 , Py_LIMITED_API ) ) ) ) ]
685- Py_NewRef ( Py_NotImplemented ( ) )
685+ return Py_NewRef ( Py_NotImplemented ( ) ) ;
686686
687687 #[ cfg( all( not( GraalPy ) , all( Py_3_13 , Py_LIMITED_API ) ) ) ]
688- Py_NotImplemented ( )
688+ return Py_NotImplemented ( ) ;
689689}
690690
691691/* Rich comparison opcodes */
You can’t perform that action at this time.
0 commit comments