Thanks to visit codestin.com Credit goes to github.com
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 5086e49 commit 32a0396Copy full SHA for 32a0396
1 file changed
Misc/python-mode.el
@@ -945,6 +945,8 @@ of the first definition found."
945
;; what level is the next definition on? must be same, deeper
946
;; or shallower indentation
947
(cond
948
+ ;; Skip code in comments and strings
949
+ ((py-in-literal))
950
;; at the same indent level, add it to the list...
951
((= start-indent cur-indent)
952
(push (cons def-name def-pos) index-alist))
0 commit comments