mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
clear_memo(): Repaired grammar in docstring.
This commit is contained in:
parent
e105478a0c
commit
b377f8ac3e
@ -183,9 +183,9 @@ class Pickler:
|
||||
"""Clears the pickler's "memo".
|
||||
|
||||
The memo is the data structure that remembers which objects the
|
||||
pickler has already seen, so that shared or recursive objects pickled
|
||||
by reference and not by value. This method is useful when re-using
|
||||
picklers.
|
||||
pickler has already seen, so that shared or recursive objects are
|
||||
pickled by reference and not by value. This method is useful when
|
||||
re-using picklers.
|
||||
|
||||
"""
|
||||
self.memo.clear()
|
||||
|
Loading…
Reference in New Issue
Block a user