From 236436da56679eefd2f5d3ffc3c2cd6109f382fe Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Wed, 22 Apr 2015 18:03:18 +0300 Subject: Started enforcing types better with decorators. --- build.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'build.py') diff --git a/build.py b/build.py index a2a6cf3fe..3c11449fc 100644 --- a/build.py +++ b/build.py @@ -129,13 +129,11 @@ class Build: return self.external_link_args.get(compiler.get_language(), []) class IncludeDirs(): - def __init__(self, curdir, dirs, kwargs): + def __init__(self, curdir, dirs): self.curdir = curdir self.incdirs = dirs # Interpreter has validated that all given directories # actually exist. - if len(kwargs) > 0: - raise InvalidArguments('Includedirs function does not take keyword arguments.') def get_curdir(self): return self.curdir -- cgit v1.2.3