We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baefbb2 commit 79d7493Copy full SHA for 79d7493
Python/ceval_macros.h
@@ -305,9 +305,9 @@ GETITEM(PyObject *v, Py_ssize_t i) {
305
} while (0);
306
307
#define UNBOUNDLOCAL_ERROR_MSG \
308
- "cannot access local variable '%s' where it is not associated with a value"
+ "cannot access local name '%s' where it is not associated with a value"
309
#define UNBOUNDFREE_ERROR_MSG \
310
- "cannot access free variable '%s' where it is not associated with a value" \
+ "cannot access free name '%s' where it is not associated with a value" \
311
" in enclosing scope"
312
#define NAME_ERROR_MSG "name '%.200s' is not defined"
313
0 commit comments