https://bugs.kde.org/show_bug.cgi?id=373845

            Bug ID: 373845
           Summary: Self argument can be included in *args
           Product: kdev-python
           Version: git master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: Language support
          Assignee: m...@svenbrauch.de
          Reporter: m...@flherne.uk
  Target Milestone: ---

```
class MyClass:
   def foo(*args):
       # args[0] is self, should have type `MyClass`.
```

Not really sure why anyone would do this, but it's valid

Currently KDevelop displays an erroneous warning ("first argument should be
self"), and `args` is an empty tuple.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to