`self` argument not syntax-highlighted (but `cls` is)
Bug #1295087 reported by
Matthew Willson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Wishlist
|
Andreas Roehler |
Bug Description
Not technically a keyword I know, but I'd normally expect `self` arguments to be syntax-highlighted, in the argument list and for method calls. E.g.
def foo(self, a, b, c):
self.bar()
Note that this does seem to happen for `cls` arguments:
@classmethod
def foo(cls, a, b, c):
cls.bar()
Changed in python-mode: | |
status: | Triaged → Fix Committed |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Am 20.03.2014 12:36, schrieb Matthew Willson:
> Public bug reported:
>
> Not technically a keyword I know, but I'd normally expect `self`
> arguments to be syntax-highlighted, in the argument list and for method
> calls. E.g.
>
> def foo(self, a, b, c):
> self.bar()
>
> Note that this does seem to happen for `cls` arguments:
>
> @classmethod
> def foo(cls, a, b, c):
> cls.bar()
>
Providing this as an option should make no difficulty.