This commit is contained in:
blueloveTH 2025-01-19 23:57:02 +08:00
parent 43cc676b20
commit 6d6b051903
2 changed files with 3 additions and 4 deletions

View File

@ -23,11 +23,10 @@ The following types can be pickled:
- [ ] functions (built-in and user-defined) accessible from the top level of a module (using def, not lambda); - [ ] functions (built-in and user-defined) accessible from the top level of a module (using def, not lambda);
- [x] classes accessible from the top level of a module; - [x] classes accessible from the top level of a module;
- [x] instances of such classes - [x] instances of such classes
- [x] `PY_STRUCT_LIKE` objects
The following magic methods are available: The following magic methods are available:
- [x] `__getnewargs__` - [] `__getnewargs__`
- [ ] `__getstate__` - [ ] `__getstate__`
- [ ] `__setstate__` - [ ] `__setstate__`
- [ ] `__reduce__` - [x] `__reduce__`

View File

@ -19,4 +19,4 @@ May be one of:
### `sys.argv` ### `sys.argv`
The command line arguments. Set by `vm->set_main_argv`. The command line arguments. Set by `py_sys_setargv`.