From 77958afc39bab60b9a71f7283158906a2b4b435e Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Wed, 18 May 2011 23:03:27 -0400 Subject: [PATCH] typo --- serializing.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serializing.html b/serializing.html index ccea6be..6c429f0 100644 --- a/serializing.html +++ b/serializing.html @@ -72,7 +72,7 @@

Saving Data to a Pickle File

  1. Follow along in Python Shell #1.
  2. The idea here is to build a Python dictionary that could represent something useful, like an entry in an Atom feed. But I also want to ensure that it contains several different types of data, to show off the pickle module. Don’t read too much into these values. -
  3. The time module contains a data structure (time_struct) to represent a point in time (accurate to one millisecond) and functions to manipulate time structs. The strptime() function takes a formatted string an converts it to a time_struct. This string is in the default format, but you can control that with format codes. See the time module for more details. +
  4. The time module contains a data structure (struct_time) to represent a point in time (accurate to one millisecond) and functions to manipulate time structs. The strptime() function takes a formatted string an converts it to a struct_time. This string is in the default format, but you can control that with format codes. See the time module for more details.

That’s a handsome-looking Python dictionary. Let’s save it to a file.