mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Update docs w.r.t. PEP 3100 changes -- patch for GHOP by Dan Finnie.
This commit is contained in:
parent
f25ef50549
commit
f694518331
48 changed files with 395 additions and 534 deletions
|
@ -811,7 +811,7 @@ Examples::
|
|||
260
|
||||
|
||||
>>> from math import pi, sin
|
||||
>>> sine_table = dict((x, sin(x*pi/180)) for x in range(0, 91))
|
||||
>>> sine_table = {x: sin(x*pi/180) for x in range(0, 91)}
|
||||
|
||||
>>> unique_words = set(word for line in page for word in line.split())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue