Skip to content
This repository was archived by the owner on Oct 28, 2023. It is now read-only.

Commit e1cda00

Browse files
committed
py/modsys: Allow to compile with obj-repr D and PY_ATTRTUPLE disabled.
1 parent 326e886 commit e1cda00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

py/modsys.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ STATIC MP_DEFINE_ATTRTUPLE(
7474
MP_ROM_PTR(&mp_sys_implementation_version_info_obj)
7575
);
7676
#else
77-
STATIC const mp_obj_tuple_t mp_sys_implementation_obj = {
77+
STATIC const mp_rom_obj_tuple_t mp_sys_implementation_obj = {
7878
{&mp_type_tuple},
7979
2,
8080
{
81-
MP_OBJ_NEW_QSTR(MP_QSTR_micropython),
82-
(mp_obj_t)&mp_sys_implementation_version_info_obj,
81+
MP_ROM_QSTR(MP_QSTR_micropython),
82+
MP_ROM_PTR(&mp_sys_implementation_version_info_obj),
8383
}
8484
};
8585
#endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy