AssistantEric/APIsManager.py

changeset 26
b48e3ff07482
parent 25
6a68405feb84
child 30
8f4d794d8ee0
diff -r 6a68405feb84 -r b48e3ff07482 AssistantEric/APIsManager.py
--- a/AssistantEric/APIsManager.py	Fri Dec 31 15:51:08 2010 +0100
+++ b/AssistantEric/APIsManager.py	Mon Jan 10 16:48:03 2011 +0100
@@ -459,7 +459,7 @@
         """
         Private method to initialize as a language API object.
         """
-        if self.__language in ["Python", "Python3"]:
+        if self.__language in ["Python", "Python2", "Python3"]:
             self.__discardFirst = "self"
         else:
             self.__discardFirst = ""

eric ide

mercurial