https://github.com/python/cpython/commit/3fafc1bd83d1f2c19f124d234a0ece988dad8b0a
commit: 3fafc1bd83d1f2c19f124d234a0ece988dad8b0a
branch: main
author: Jacob Bower <[email protected]>
committer: DinoV <[email protected]>
date: 2024-11-21T17:26:25-06:00
summary:

Improve comment for co_nlocalsplus (#126993)

files:
M Include/cpython/code.h

diff --git a/Include/cpython/code.h b/Include/cpython/code.h
index 370f1d259abe0f..3899d4269233a1 100644
--- a/Include/cpython/code.h
+++ b/Include/cpython/code.h
@@ -131,7 +131,8 @@ typedef struct {
                                                                                
\
     /* redundant values (derived from co_localsplusnames and                   
\
        co_localspluskinds) */                                                  
\
-    int co_nlocalsplus;           /* number of local + cell + free variables 
*/ \
+    int co_nlocalsplus;           /* number of spaces for holding local, cell, 
\
+                                     and free variables */                     
\
     int co_framesize;             /* Size of frame in words */                 
\
     int co_nlocals;               /* number of local variables */              
\
     int co_ncellvars;             /* total number of cell variables */         
\

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to