~ubuntu-branches/ubuntu/lucid/python2.6/lucid

« back to all changes in this revision

Viewing changes to Doc/reference/lexical_analysis.rst

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-04-08 02:29:05 UTC
  • mto: (10.1.3 experimental)
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: james.westby@ubuntu.com-20090408022905-xa5zbe8821m2o77o
Tags: upstream-2.6.2~rc1
ImportĀ upstreamĀ versionĀ 2.6.2~rc1

Show diffs side-by-side

added added

removed removed

Lines of Context:
341
341
language, and cannot be used as ordinary identifiers.  They must be spelled
342
342
exactly as written here::
343
343
 
344
 
   and       del       from      not       while    
345
 
   as        elif      global    or        with     
346
 
   assert    else      if        pass      yield    
347
 
   break     except    import    print              
348
 
   class     exec      in        raise              
349
 
   continue  finally   is        return             
350
 
   def       for       lambda    try 
 
344
   and       del       from      not       while
 
345
   as        elif      global    or        with
 
346
   assert    else      if        pass      yield
 
347
   break     except    import    print
 
348
   class     exec      in        raise
 
349
   continue  finally   is        return
 
350
   def       for       lambda    try
351
351
 
352
352
.. versionchanged:: 2.4
353
353
   :const:`None` became a constant and is now recognized by the compiler as a name
654
654
 
655
655
   7     2147483647                        0177
656
656
   3L    79228162514264337593543950336L    0377L   0x100000000L
657
 
         79228162514264337593543950336             0xdeadbeef                                               
 
657
         79228162514264337593543950336             0xdeadbeef
658
658
 
659
659
 
660
660
.. _floating:
701
701
part, add a floating point number to it, e.g., ``(3+4j)``.  Some examples of
702
702
imaginary literals::
703
703
 
704
 
   3.14j   10.j    10j     .001j   1e100j  3.14e-10j 
 
704
   3.14j   10.j    10j     .001j   1e100j  3.14e-10j
705
705
 
706
706
 
707
707
.. _operators: