SEESenv/web/html/ch5func.html
changeset 25 ed38dd9bdb50
parent 24 10074d1357ff
child 27 cb14131583c6
--- a/SEESenv/web/html/ch5func.html	Mon Feb 22 22:38:51 2010 +0530
+++ b/SEESenv/web/html/ch5func.html	Tue Feb 23 19:43:04 2010 +0530
@@ -27,7 +27,7 @@
     <dl>
      <dt>
       <span class="article">
-       <a href="#id2813580">
+       <a href="#id2621478">
         Functional Approach
        </a>
       </span>
@@ -36,42 +36,42 @@
       <dl>
        <dt>
         <span class="section">
-         <a href="#id2864618">
+         <a href="#id2672516">
           1. Function scope
          </a>
         </span>
        </dt>
        <dt>
         <span class="section">
-         <a href="#id2864676">
+         <a href="#id2672574">
           2. Default Arguments
          </a>
         </span>
        </dt>
        <dt>
         <span class="section">
-         <a href="#id2864716">
+         <a href="#id2672613">
           3. Keyword Arguments
          </a>
         </span>
        </dt>
        <dt>
         <span class="section">
-         <a href="#id2864832">
+         <a href="#id2672729">
           4. Parameter Packing and Unpacking
          </a>
         </span>
        </dt>
        <dt>
         <span class="section">
-         <a href="#id2864932">
+         <a href="#id2672829">
           5. Nested Functions and Scopes
          </a>
         </span>
        </dt>
        <dt>
         <span class="section">
-         <a href="#id2864984">
+         <a href="#id2672879">
           6. map, reduce and filter functions
          </a>
         </span>
@@ -80,7 +80,7 @@
         <dl>
          <dt>
           <span class="section">
-           <a href="#id2865174">
+           <a href="#id2673069">
             6.1. List Comprehensions
            </a>
           </span>
@@ -96,7 +96,7 @@
      <div>
       <div>
        <h2 class="title">
-        <a name="id2813580">
+        <a name="id2621478">
         </a>
         Functional Approach
        </h2>
@@ -113,42 +113,42 @@
      <dl>
       <dt>
        <span class="section">
-        <a href="#id2864618">
+        <a href="#id2672516">
          1. Function scope
         </a>
        </span>
       </dt>
       <dt>
        <span class="section">
-        <a href="#id2864676">
+        <a href="#id2672574">
          2. Default Arguments
         </a>
        </span>
       </dt>
       <dt>
        <span class="section">
-        <a href="#id2864716">
+        <a href="#id2672613">
          3. Keyword Arguments
         </a>
        </span>
       </dt>
       <dt>
        <span class="section">
-        <a href="#id2864832">
+        <a href="#id2672729">
          4. Parameter Packing and Unpacking
         </a>
        </span>
       </dt>
       <dt>
        <span class="section">
-        <a href="#id2864932">
+        <a href="#id2672829">
          5. Nested Functions and Scopes
         </a>
        </span>
       </dt>
       <dt>
        <span class="section">
-        <a href="#id2864984">
+        <a href="#id2672879">
          6. map, reduce and filter functions
         </a>
        </span>
@@ -157,7 +157,7 @@
        <dl>
         <dt>
          <span class="section">
-          <a href="#id2865174">
+          <a href="#id2673069">
            6.1. List Comprehensions
           </a>
          </span>
@@ -330,7 +330,7 @@
       <div>
        <div>
         <h2 class="title" style="clear: both">
-         <a name="id2864618">
+         <a name="id2672516">
          </a>
          1.Function scope
         </h2>
@@ -406,7 +406,7 @@
       <div>
        <div>
         <h2 class="title" style="clear: both">
-         <a name="id2864676">
+         <a name="id2672574">
          </a>
          2.Default Arguments
         </h2>
@@ -454,7 +454,7 @@
       <div>
        <div>
         <h2 class="title" style="clear: both">
-         <a name="id2864716">
+         <a name="id2672613">
          </a>
          3.Keyword Arguments
         </h2>
@@ -592,7 +592,7 @@
       <div>
        <div>
         <h2 class="title" style="clear: both">
-         <a name="id2864832">
+         <a name="id2672729">
          </a>
          4.Parameter Packing and Unpacking
         </h2>
@@ -634,7 +634,7 @@
 
   print "Title: %s" % (title)
   print "Full name: %(first)s %(middle)s %(last)s" % name
-  print "Age: %d\nEmail-ID: %s" % args
+  print "Age: %d nEmail-ID: %s" % args
      </pre>
      <p id="ch5func_16">
       The above function can be called as. Note, the order of keyword parameters can
@@ -681,7 +681,7 @@
       def print_report(title, age, email, first, middle, last):
   print "Title: %s" % (title)
   print "Full name: %s %s %s" % (first, middle, last)
-  print "Age: %d\nEmail-ID: %s" % (age, email)
+  print "Age: %d nEmail-ID: %s" % (age, email)
 
 &gt;&gt;&gt; args = (29, 'johny@example.com')
 &gt;&gt;&gt; name = {
@@ -701,7 +701,7 @@
       <div>
        <div>
         <h2 class="title" style="clear: both">
-         <a name="id2864932">
+         <a name="id2672829">
          </a>
          5.Nested Functions and Scopes
         </h2>
@@ -727,30 +727,18 @@
       in
 Python you are suggested to read:
      </p>
-     <span style="color: red">
-      &lt;line_block&gt;
-      <span style="color: red">
-       &lt;line&gt;
-       <div class="reference">
-        <div class="titlepage">
-         <hr />
-        </div>
-        http://avinashv.net/2008/04/python-decorators-syntactic-sugar/
-       </div>
-       &lt;/line&gt;
-      </span>
-      <span style="color: red">
-       &lt;line&gt;
-       <div class="reference">
-        <div class="titlepage">
-         <hr />
-        </div>
-        http://personalpages.tds.net/~kent37/kk/00001.html
-       </div>
-       &lt;/line&gt;
-      </span>
-      &lt;/line_block&gt;
-     </span>
+     <div class="reference">
+      <div class="titlepage">
+       <hr />
+      </div>
+      http://avinashv.net/2008/04/python-decorators-syntactic-sugar/
+     </div>
+     <div class="reference">
+      <div class="titlepage">
+       <hr />
+      </div>
+      http://personalpages.tds.net/~kent37/kk/00001.html
+     </div>
      <p id="ch5func_19">
       However, the following is an example for nested functions in Python:
      </p>
@@ -770,7 +758,7 @@
       <div>
        <div>
         <h2 class="title" style="clear: both">
-         <a name="id2864984">
+         <a name="id2672879">
          </a>
          6.map, reduce and filter functions
         </h2>
@@ -1020,7 +1008,7 @@
        <div>
         <div>
          <h3 class="title">
-          <a name="id2865174">
+          <a name="id2673069">
           </a>
           6.1.List Comprehensions
          </h3>