dictionaries/script.rst
changeset 478 5083394605e0
parent 370 7419836c90c1
child 479 9c2e9213898c
equal deleted inserted replaced
477:0406115dccd1 478:5083394605e0
    18 ..   #. basic datatypes.
    18 ..   #. basic datatypes.
    19      
    19      
    20 .. Author              : Anoop Jacob Thomas <anoop@fossee.in>
    20 .. Author              : Anoop Jacob Thomas <anoop@fossee.in>
    21    Internal Reviewer   : Puneeth
    21    Internal Reviewer   : Puneeth
    22    External Reviewer   :
    22    External Reviewer   :
       
    23    Language Reviewer   : Bhanukiran
    23    Checklist OK?       : <put date stamp here, if OK> [2010-10-05]
    24    Checklist OK?       : <put date stamp here, if OK> [2010-10-05]
    24 
    25 
    25 .. #[Puneeth: Quickref]
    26 .. #[Puneeth: Quickref]
    26 
    27 
    27 ============
    28 ============
   137 ::
   138 ::
   138 
   139 
   139     extensions['cpp'] = 'C++ source code'
   140     extensions['cpp'] = 'C++ source code'
   140     extensions
   141     extensions
   141 
   142 
   142 As you can see, it did not add a new thing nor gave an error, but it
   143 As you can see, it neither added a new thing nor gave an error, but it
   143 simply replaces the existing value with the new one.
   144 simply replaced the existing value with the new one.
   144 
   145 
   145 Now let us learn how to check if a particular key is present in the
   146 Now let us learn how to check if a particular key is present in the
   146 dictionary. For that we can use ``in``,
   147 dictionary. For that we can use ``in``,
   147 ::
   148 ::
   148 
   149