diff --git a/serializing.html b/serializing.html index a26df2c..26e28a4 100644 --- a/serializing.html +++ b/serializing.html @@ -148,7 +148,9 @@ NameError: name 'entry' is not defined ... >>> entry2 == entry ④ True ->>> entry2['tags'] ⑤ +>>> entry2 is entry ④ +False +>>> entry2['tags'] ⑥ ('diveintopython', 'docbook', 'html') >>> entry2['internal_id'] b'\xDE\xD5\xB4\xF8' @@ -157,6 +159,7 @@ NameError: name 'entry' is not defined
entry.pickle file.
entry.pickle file. Now you’ve read the serialized data from that file and created a perfect replica of the original data structure.
+'tags' key is a tuple, and the value of the 'internal_id' key is a bytes object.