Skip to content

A trivial typo (so patch instead of pull request) #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
congma opened this issue Nov 4, 2016 · 1 comment
Closed

A trivial typo (so patch instead of pull request) #2

congma opened this issue Nov 4, 2016 · 1 comment

Comments

@congma
Copy link

congma commented Nov 4, 2016

From e47c876f1aecf475b43a942521ed9b3ce9be3dc6 Mon Sep 17 00:00:00 2001
From: Cong Ma <cong.ma@obspm.fr>
Date: Fri, 4 Nov 2016 13:31:21 +0800
Subject: [PATCH] Fix typo (Py_DECREF) in canonical_function.rst.

---
 doc/sphinx/source/canonical_function.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/sphinx/source/canonical_function.rst b/doc/sphinx/source/canonical_function.rst
index c7762b3..0ea064a 100644
--- a/doc/sphinx/source/canonical_function.rst
+++ b/doc/sphinx/source/canonical_function.rst
@@ -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.
 
-- 
2.10.2
@adamchainz
Copy link
Contributor

You can just edit files on Github and make a PR, which is even easier than a patch file https://help.github.com/articles/editing-files-in-another-user-s-repository/

paulross added a commit that referenced this issue Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants