Grammatical fixes
This commit is contained in:
parent
2bd6510b87
commit
08741c3b40
|
@ -418,7 +418,7 @@ Some rules:
|
||||||
Pickling
|
Pickling
|
||||||
--------
|
--------
|
||||||
|
|
||||||
Enumerations be pickled and unpickled::
|
Enumerations can be pickled and unpickled::
|
||||||
|
|
||||||
>>> from enum.tests.fruit import Fruit
|
>>> from enum.tests.fruit import Fruit
|
||||||
>>> from pickle import dumps, loads
|
>>> from pickle import dumps, loads
|
||||||
|
@ -426,7 +426,7 @@ Enumerations be pickled and unpickled::
|
||||||
True
|
True
|
||||||
|
|
||||||
The usual restrictions for pickling apply: picklable enums must be defined in
|
The usual restrictions for pickling apply: picklable enums must be defined in
|
||||||
the top level of a module, since unpickling requires them to be imporatable
|
the top level of a module, since unpickling requires them to be importable
|
||||||
from that module.
|
from that module.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue