PEP 510: rephrase the sentence about serialization
This commit is contained in:
parent
86af87adc3
commit
89f64fa84b
|
@ -257,8 +257,10 @@ Behaviour
|
|||
When a function code is replaced (``func.__code__ = new_code``), all
|
||||
specialized functions are removed.
|
||||
|
||||
When a function is serialized (by ``marshal`` or ``pickle`` for
|
||||
example), specialized functions and guards are ignored (not serialized).
|
||||
When a function is serialized ``pickle``, specialized functions and
|
||||
guards are ignored (not serialized). Specialized functions and guards
|
||||
are not stored in ``.pyc`` files but created and registered at runtime,
|
||||
when a module is loaded.
|
||||
|
||||
|
||||
Discussion
|
||||
|
|
Loading…
Reference in New Issue