Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 77958af

Browse files
author
Mark Pilgrim
committed
typo
1 parent fb52df6 commit 77958af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serializing.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ <h2 id=dump>Saving Data to a Pickle File</h2>
7272
<ol>
7373
<li>Follow along in Python Shell #1.
7474
<li>The idea here is to build a Python dictionary that could represent something useful, like an <a href=xml.html#xml-structure>entry in an Atom feed</a>. But I also want to ensure that it contains several different types of data, to show off the <code>pickle</code> module. Don&#8217;t read too much into these values.
75-
<li>The <code>time</code> module contains a data structure (<code>time_struct</code>) to represent a point in time (accurate to one millisecond) and functions to manipulate time structs. The <code>strptime()</code> function takes a formatted string an converts it to a <code>time_struct</code>. This string is in the default format, but you can control that with format codes. See the <a href=http://docs.python.org/3.1/library/time.html><code>time</code> module</a> for more details.
75+
<li>The <code>time</code> module contains a data structure (<code>struct_time</code>) to represent a point in time (accurate to one millisecond) and functions to manipulate time structs. The <code>strptime()</code> function takes a formatted string an converts it to a <code>struct_time</code>. This string is in the default format, but you can control that with format codes. See the <a href=http://docs.python.org/3.1/library/time.html><code>time</code> module</a> for more details.
7676
</ol>
7777

7878
<p>That&#8217;s a handsome-looking Python dictionary. Let&#8217;s save it to a file.

0 commit comments

Comments
 (0)