Summary: | kdev-python incorrectly says that __new__ should have self as its first argument | ||
---|---|---|---|
Product: | [Developer tools] kdev-python | Reporter: | Todd <toddrme2178> |
Component: | Language support | Assignee: | Sven Brauch <mail> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.4.0 / 1.4.1 (stable) | ||
Target Milestone: | 1.4.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdev-python/43f49dd95d5ac85f6757b4e897e43723e0881480 | Version Fixed In: | |
Sentry Crash Report: |
Description
Todd
2013-03-17 11:29:49 UTC
Git commit 43f49dd95d5ac85f6757b4e897e43723e0881480 by Sven Brauch, on behalf of Levente Kurusa. Committed on 26/11/2013 at 21:26. Pushed by brauch into branch 'master'. Fix warning if __new__ argument is called cls, not self This patch fixes a warning on __new__ method argument complaining about the usage of self instead of cls. REVIEW:114084 GCI-TASK:5883312908271616 M +19 -6 duchain/declarationbuilder.cpp M +21 -0 duchain/tests/pyduchaintest.cpp M +2 -0 duchain/tests/pyduchaintest.h http://commits.kde.org/kdev-python/43f49dd95d5ac85f6757b4e897e43723e0881480 |