Skip to content

Commit

Permalink
Fix typo. Fixes #2
Browse files Browse the repository at this point in the history
  • Loading branch information
paulross committed Mar 14, 2021
1 parent cec2f3c commit bdb2fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/sphinx/source/canonical_function.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ If you are willing to accept NULL arguments then this pattern would be more suit
Py_INCREF(arg_1);
}
Of course the same test must be used when calling ``Py_DECFREF``, or just use ``Py_XDECREF``.
Of course the same test must be used when calling ``Py_DECREF``, or just use ``Py_XDECREF``.

Now we create any local objects, if they are "Borrowed" references we need to incref them. With any abnormal behaviour we do a local jump straight to the cleanup code.

Expand Down

0 comments on commit bdb2fbc

Please sign in to comment.