mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Added new module "array" (for now optional) defining array objects.
This commit is contained in:
parent
171a55bf56
commit
778983b481
2 changed files with 1159 additions and 0 deletions
1152
Modules/arraymodule.c
Normal file
1152
Modules/arraymodule.c
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -286,6 +286,9 @@ extern void initmpz();
|
|||
#ifdef USE_MD5
|
||||
extern void initmd5();
|
||||
#endif
|
||||
#ifdef USE_ARRAY
|
||||
extern void initarray();
|
||||
#endif
|
||||
/* -- ADDMODULE MARKER 1 -- */
|
||||
|
||||
struct {
|
||||
|
|
@ -437,6 +440,10 @@ struct {
|
|||
{"md5", initmd5},
|
||||
#endif
|
||||
|
||||
#ifdef USE_ARRAY
|
||||
{"array", initarray},
|
||||
#endif
|
||||
|
||||
/* -- ADDMODULE MARKER 2 -- */
|
||||
|
||||
{0, 0} /* Sentinel */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue