docs/develop/porting: Fix argument type of mp_lexer_new_from_file().

Follow up to 5015779a6f.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2024-01-16 11:12:12 +11:00
parent c41b421d48
commit f9df08d8ee

View File

@ -83,7 +83,7 @@ The basic MicroPython firmware is implemented in the main port file, e.g ``main.
}
// There is no filesystem so opening a file raises an exception.
mp_lexer_t *mp_lexer_new_from_file(const char *filename) {
mp_lexer_t *mp_lexer_new_from_file(qstr filename) {
mp_raise_OSError(MP_ENOENT);
}