diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 641b4ccff23..694b897cc00 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -1192,7 +1192,7 @@ fontified." | |||
| 1192 | "Check whether NODE is a variable. | 1192 | "Check whether NODE is a variable. |
| 1193 | NODE's type should be \"identifier\"." | 1193 | NODE's type should be \"identifier\"." |
| 1194 | ;; An identifier can be a function/class name, a property, or a | 1194 | ;; An identifier can be a function/class name, a property, or a |
| 1195 | ;; variables. This funtion filters out function/class names and | 1195 | ;; variables. This function filters out function/class names and |
| 1196 | ;; properties. | 1196 | ;; properties. |
| 1197 | (pcase (treesit-node-type (treesit-node-parent node)) | 1197 | (pcase (treesit-node-type (treesit-node-parent node)) |
| 1198 | ((or "function_definition" "class_definition") nil) | 1198 | ((or "function_definition" "class_definition") nil) |