mirror of
https://github.com/python/cpython.git
synced 2025-08-18 07:41:05 +00:00
Fix stock symbol for Microsoft
This commit is contained in:
parent
c766b31dbc
commit
a0ff91cac0
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ example::
|
||||||
|
|
||||||
# Larger example
|
# Larger example
|
||||||
for t in [('2006-03-28', 'BUY', 'IBM', 1000, 45.00),
|
for t in [('2006-03-28', 'BUY', 'IBM', 1000, 45.00),
|
||||||
('2006-04-05', 'BUY', 'MSOFT', 1000, 72.00),
|
('2006-04-05', 'BUY', 'MSFT', 1000, 72.00),
|
||||||
('2006-04-06', 'SELL', 'IBM', 500, 53.00),
|
('2006-04-06', 'SELL', 'IBM', 500, 53.00),
|
||||||
]:
|
]:
|
||||||
c.execute('insert into stocks values (?,?,?,?,?)', t)
|
c.execute('insert into stocks values (?,?,?,?,?)', t)
|
||||||
|
@ -86,7 +86,7 @@ This example uses the iterator form::
|
||||||
(u'2006-01-05', u'BUY', u'RHAT', 100, 35.14)
|
(u'2006-01-05', u'BUY', u'RHAT', 100, 35.14)
|
||||||
(u'2006-03-28', u'BUY', u'IBM', 1000, 45.0)
|
(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-06', u'SELL', u'IBM', 500, 53.0)
|
||||||
(u'2006-04-05', u'BUY', u'MSOFT', 1000, 72.0)
|
(u'2006-04-05', u'BUY', u'MSFT', 1000, 72.0)
|
||||||
>>>
|
>>>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue