diff --git a/python/libgrass_interface_generator/ctypesgen/libraryloader.py b/python/libgrass_interface_generator/ctypesgen/libraryloader.py index f54a036b3c0..52fefc343cc 100644 --- a/python/libgrass_interface_generator/ctypesgen/libraryloader.py +++ b/python/libgrass_interface_generator/ctypesgen/libraryloader.py @@ -67,7 +67,7 @@ class Lookup: def __init__(self, path): super(LibraryLoader.Lookup, self).__init__() - self.access = dict(cdecl=ctypes.CDLL(path, self.mode)) + self.access = {"cdecl": ctypes.CDLL(path, self.mode)} def get(self, name, calling_convention="cdecl"): """Return the given name according to the selected calling convention"""