Commits

Anonymous committed 19b6a7c

adding autoblanking

  • Participants
  • Parent commits 7a62b3b

Comments (0)

Files changed (2)

File docs/index.en.yhtml2

     Code
         ||
         >>> compose(f)
-        'intf(inta, longb){do_this;do_that;}'
+        'int f(int a, long b){do_this;do_that;}'
         ||
 
     p   >>

File samples/sample1.py

 
 The comment parameter is set to C style /* comments */
 
->>> f = parse("int f(int a, long b) { do_this; do_that; }", Function, comment=comment_c)
+>>> f = parse("int f(int a, long b) { do_this; do_that; } /* hello */", Function, comment=comment_c)
 
 Because function has a name() in its grammar, we can access this now as an
 attribute. With Python 2.7 this gives Symbol(u'f'), with Python 3.2 it gives Symbol('f'):