File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 859
859
' match' : ' (\\\\ )(.*)$\\ n?'
860
860
' magic_function_names' :
861
861
' comment' : ' these methods have magic interpretation by python and are generally called indirectly through syntactic constructs'
862
- ' match' : ' (?x)\\ b(__(?:\n\t\t\t\t\t\t abs |add|and|call|cmp|coerce|complex|contains|del|delattr|\n\t\t\t\t\t\t delete |delitem|delslice|div|divmod|enter|eq|exit|float|\n\t\t\t\t\t\t floordiv| ge|get|getattr|getattribute|getitem|getslice|gt|\n\t\t\t\t\t\t hash |hex|iadd|iand|idiv|ifloordiv|ilshift|imod|imul|init|\n\t\t\t\t\t\t int| invert|ior|ipow|irshift|isub|iter|itruediv|ixor|le|len|\n\t\t\t\t\t\t long| lshift|lt|mod|mul|ne|neg|new|nonzero|oct|or|pos|pow|\n\t\t\t\t\t\t radd |rand|rdiv|rdivmod|repr|rfloordiv|rlshift|rmod|rmul|ror|\n\t\t\t\t\t\t rpow| rrshift|rshift|rsub|rtruediv|rxor|set|setattr|setitem|\n\t\t\t\t\t\t setslice |str|sub|truediv|unicode|xor\n\t\t\t\t\t )__)\\ b'
862
+ ' match' : ' (?x)\\ b(__(?:abs |add|and|bool|bytes| call|cmp|coerce|complex|contains|del|delattr|delete |delitem|delslice|dir| div|divmod|enter|eq|exit|float|floordiv|format| ge|get|getattr|getattribute|getitem|getslice|gt|hash |hex|iadd|iand|idiv|ifloordiv|ilshift|imatmul| imod|imul|index| init|instancecheck|int| invert|ior|ipow|irshift|isub|iter|itruediv|ixor|le|len|length_hint|long| lshift|lt|matmul|missing| mod|mul|ne|neg|next| new|nonzero|oct|or|pos|pow|radd |rand|rdiv|rdivmod|repr|reversed| rfloordiv|rlshift|rmatmul| rmod|rmul|ror|round|rpow| rrshift|rshift|rsub|rtruediv|rxor|set|setattr|setitem|setslice |str|sub|subclasscheck| truediv|unicode|xor)__)\\ b'
863
863
' name' : ' support.function.magic.python'
864
864
' magic_variable_names' :
865
865
' comment' : ' magic variables which a class/module may have.'
866
- ' match' : ' \\ b__(all|bases|class|debug|dict|doc|file|members|metaclass|methods|name|slots|weakref)__\\ b'
866
+ ' match' : ' \\ b__(all|annotations| bases|class|closure|code| debug|dict|doc|file|func|globals|kwdefaults| members|metaclass|methods|module| name|qualname|self |slots|weakref)__\\ b'
867
867
' name' : ' support.variable.magic.python'
868
868
' regular_expressions' :
869
869
' comment' : ' Changed disabled to 1 to turn off syntax highlighting in “r” strings.'
You can’t perform that action at this time.
0 commit comments