[Python-checkins] Minor fixes to the formatting of the notes of Modules/gcmodule.c (GH-17247)

Pablo Galindo webhook-mailer at python.org
Mon Nov 18 20:37:05 EST 2019


https://github.com/python/cpython/commit/b028f589ddf6041d2fab7eb50384588f199864b3
commit: b028f589ddf6041d2fab7eb50384588f199864b3
branch: master
author: Pablo Galindo <Pablogsal at gmail.com>
committer: GitHub <noreply at github.com>
date: 2019-11-19T01:36:57Z
summary:

Minor fixes to the formatting of the notes of Modules/gcmodule.c (GH-17247)

files:
M Modules/gcmodule.c

diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c
index b258a0f6e1180..cb7a3de57a326 100644
--- a/Modules/gcmodule.c
+++ b/Modules/gcmodule.c
@@ -1088,7 +1088,7 @@ deduce_unreachable(PyGC_Head *base, PyGC_Head *unreachable) {
      * NOTE:  This used to move the reachable objects into a reachable
      * set instead.  But most things usually turn out to be reachable,
      * so it's more efficient to move the unreachable things.  See note
-     ^ [REACHABLE OR UNREACHABLE?} at the file end.
+     ^ [REACHABLE OR UNREACHABLE?] at the file end.
      */
     gc_list_init(unreachable);
     move_unreachable(base, unreachable);  // gc_prev is pointer again
@@ -2188,7 +2188,7 @@ PyObject_GC_Del(void *op)
 /* ------------------------------------------------------------------------
 Notes
 
-[REACHABLE OR UNREACHABLE?}
+[REACHABLE OR UNREACHABLE?]
 
 It "sounds slick" to move the unreachable objects, until you think about
 it - the reason it pays isn't actually obvious.



More information about the Python-checkins mailing list