Skip to content

Commit dfb070b

Browse files
authored
Merge pull request #8318 from dhalbert/remove-u-prefix
remove last uses of 'u' prefix
2 parents b589dc2 + 4a62665 commit dfb070b

File tree

234 files changed

+741
-2843
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

234 files changed

+741
-2843
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ jobs:
6161
make -C examples/natmod/uzlib
6262
- name: Test native modules
6363
if: matrix.test == 'all'
64-
run: ./run-natmodtests.py extmod/{btree*,framebuf*,uheapq*,ure*,uzlib*}.py
64+
run: ./run-natmodtests.py extmod/{uheapq*,ure*,uzlib*}.py
6565
working-directory: tests

extmod/moduasyncio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,6 @@ const mp_obj_module_t mp_module_uasyncio = {
357357
.globals = (mp_obj_dict_t *)&mp_module_uasyncio_globals,
358358
};
359359

360-
MP_REGISTER_MODULE(MP_QSTR__uasyncio, mp_module_uasyncio);
360+
MP_REGISTER_MODULE(MP_QSTR__asyncio, mp_module_uasyncio);
361361

362362
#endif // MICROPY_PY_UASYNCIO

extmod/modubinascii.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,6 @@ const mp_obj_module_t mp_module_ubinascii = {
330330
.globals = (mp_obj_dict_t *)&mp_module_binascii_globals,
331331
};
332332

333-
MP_REGISTER_MODULE(MP_QSTR_ubinascii, mp_module_ubinascii);
333+
MP_REGISTER_MODULE(MP_QSTR_binascii, mp_module_ubinascii);
334334

335335
#endif // MICROPY_PY_UBINASCII

extmod/moduhashlib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,6 @@ const mp_obj_module_t mp_module_uhashlib = {
382382
.globals = (mp_obj_dict_t *)&mp_module_uhashlib_globals,
383383
};
384384

385-
MP_REGISTER_MODULE(MP_QSTR_uhashlib, mp_module_uhashlib);
385+
MP_REGISTER_MODULE(MP_QSTR_hashlib, mp_module_uhashlib);
386386

387387
#endif // MICROPY_PY_UHASHLIB

extmod/moduheapq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const mp_obj_module_t mp_module_uheapq = {
120120
.globals = (mp_obj_dict_t *)&mp_module_uheapq_globals,
121121
};
122122

123-
MP_REGISTER_MODULE(MP_QSTR_uheapq, mp_module_uheapq);
123+
MP_REGISTER_MODULE(MP_QSTR_heapq, mp_module_uheapq);
124124
#endif
125125

126126
#endif // MICROPY_PY_UHEAPQ

extmod/modujson.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,6 @@ const mp_obj_module_t mp_module_ujson = {
458458
.globals = (mp_obj_dict_t *)&mp_module_ujson_globals,
459459
};
460460

461-
MP_REGISTER_MODULE(MP_QSTR_ujson, mp_module_ujson);
461+
MP_REGISTER_MODULE(MP_QSTR_json, mp_module_ujson);
462462

463463
#endif // MICROPY_PY_UJSON

extmod/moduos.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,6 @@ const mp_obj_module_t mp_module_uos = {
181181
.globals = (mp_obj_dict_t *)&os_module_globals,
182182
};
183183

184-
MP_REGISTER_MODULE(MP_QSTR_uos, mp_module_uos);
184+
MP_REGISTER_MODULE(MP_QSTR_os, mp_module_uos);
185185

186186
#endif // MICROPY_PY_UOS

extmod/moduplatform.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,6 @@ const mp_obj_module_t mp_module_uplatform = {
7575
.globals = (mp_obj_dict_t *)&modplatform_globals,
7676
};
7777

78-
MP_REGISTER_MODULE(MP_QSTR_uplatform, mp_module_uplatform);
78+
MP_REGISTER_MODULE(MP_QSTR_platform, mp_module_uplatform);
7979

8080
#endif // MICROPY_PY_UPLATFORM

extmod/modurandom.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ const mp_obj_module_t mp_module_urandom = {
255255
.globals = (mp_obj_dict_t *)&mp_module_urandom_globals,
256256
};
257257

258-
MP_REGISTER_MODULE(MP_QSTR_urandom, mp_module_urandom);
258+
MP_REGISTER_MODULE(MP_QSTR_random, mp_module_urandom);
259259
#endif
260260

261261
#endif // MICROPY_PY_URANDOM

extmod/modure.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ const mp_obj_module_t mp_module_ure = {
491491
.globals = (mp_obj_dict_t *)&mp_module_re_globals,
492492
};
493493

494-
MP_REGISTER_MODULE(MP_QSTR_ure, mp_module_ure);
494+
MP_REGISTER_MODULE(MP_QSTR_re, mp_module_ure);
495495
#endif
496496

497497
// Source files #include'd here to make sure they're compiled in

0 commit comments

Comments
 (0)