Example

Suppose you wanted to add the following C function

     /* Compute the greatest common divisor */
     int gcd(int x, int y) {
         int g;
         g = y;
         while (x > 0) {
              g = x;
              y = y % x;
              y = g;
         }
         return g;
     }
     
<<< O'Reilly OSCON 2000, Advanced Python Programming, Slide 119
July 17, 2000, beazley@cs.uchicago.edu
>>>