diff options
| author | Mark Dickinson <dickinsm@gmail.com> | 2009-06-28 20:59:42 +0000 |
|---|---|---|
| committer | Mark Dickinson <dickinsm@gmail.com> | 2009-06-28 20:59:42 +0000 |
| commit | 5a55b61a2aa15b94d26bbc058ee2b5433178a42e (patch) | |
| tree | f3271995fbef03c8aa251164de7cf9fb63e6504a /Doc/library/sqlite3.rst | |
| parent | 6e6565b64b201952b0497c4915e17ace5cae04a7 (diff) | |
| download | cpython-git-5a55b61a2aa15b94d26bbc058ee2b5433178a42e.tar.gz | |
Issue #6354: More fixes for code examples involving the repr of a float.
Diffstat (limited to 'Doc/library/sqlite3.rst')
| -rw-r--r-- | Doc/library/sqlite3.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index 6c3f6e2d20..53164b8ba1 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -81,7 +81,7 @@ This example uses the iterator form:: >>> for row in c: ... print(row) ... - (u'2006-01-05', u'BUY', u'RHAT', 100, 35.140000000000001) + (u'2006-01-05', u'BUY', u'RHAT', 100, 35.14) (u'2006-03-28', u'BUY', u'IBM', 1000, 45.0) (u'2006-04-06', u'SELL', u'IBM', 500, 53.0) (u'2006-04-05', u'BUY', u'MSOFT', 1000, 72.0) @@ -591,7 +591,7 @@ Now we plug :class:`Row` in:: >>> type(r) <type 'sqlite3.Row'> >>> r - (u'2006-01-05', u'BUY', u'RHAT', 100.0, 35.140000000000001) + (u'2006-01-05', u'BUY', u'RHAT', 100.0, 35.14) >>> len(r) 5 >>> r[2] |
