PluginApis.py

changeset 22
a4e158702ded
parent 20
9b0baa183bd1
child 23
1e416a265f41
equal deleted inserted replaced
21:a50424f41306 22:a4e158702ded
39 Module function to return the API files made available by this plugin. 39 Module function to return the API files made available by this plugin.
40 40
41 @param language language to get APIs for (string) 41 @param language language to get APIs for (string)
42 @return list of API filenames (list of string) 42 @return list of API filenames (list of string)
43 """ 43 """
44 if language in ["Python3", "Python2", "Python"]: 44 if language in ["Python3", "Python2", "Python"]:
45 apisDir = \ 45 apisDir = \
46 os.path.join(os.path.dirname(__file__), "APIs", "Python") 46 os.path.join(os.path.dirname(__file__), "APIs", "Python")
47 apis = glob.glob(os.path.join(apisDir, '*.api')) 47 apis = glob.glob(os.path.join(apisDir, '*.api'))
48 if language == "Python3": 48 if language == "Python3":
49 apisDir = \ 49 apisDir = \

eric ide

mercurial