summaryrefslogtreecommitdiffstatshomepage
path: root/py/argcheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/argcheck.c')
-rw-r--r--py/argcheck.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/py/argcheck.c b/py/argcheck.c
index 4bc0629b12..f9a4eb7f46 100644
--- a/py/argcheck.c
+++ b/py/argcheck.c
@@ -27,12 +27,8 @@
#include <stdlib.h>
#include <assert.h>
-#include "mpconfig.h"
-#include "nlr.h"
-#include "misc.h"
-#include "qstr.h"
-#include "obj.h"
-#include "runtime.h"
+#include "py/nlr.h"
+#include "py/runtime.h"
void mp_arg_check_num(mp_uint_t n_args, mp_uint_t n_kw, mp_uint_t n_args_min, mp_uint_t n_args_max, bool takes_kw) {
// TODO maybe take the function name as an argument so we can print nicer error messages