eric6/Preferences/ConfigurationPages/EditorAPIsPage.py

changeset 8234
fcb6b4b96274
parent 8218
7c09585bd960
equal deleted inserted replaced
8233:bad78a592cc2 8234:fcb6b4b96274
68 @param projectType project type of the API 68 @param projectType project type of the API
69 @type str 69 @type str
70 @return key to be used 70 @return key to be used
71 @rtype str 71 @rtype str
72 """ 72 """
73 if projectType: 73 key = (language, projectType) if projectType else (language, "")
74 key = (language, projectType)
75 else:
76 key = (language, "")
77 return key 74 return key
78 75
79 def save(self): 76 def save(self):
80 """ 77 """
81 Public slot to save the Editor APIs configuration. 78 Public slot to save the Editor APIs configuration.

eric ide

mercurial