From: Eric S. Raymond Date: Thu, 19 Oct 2006 16:27:03 +0000 (+0000) Subject: Fix unbalanced-group error. X-Git-Tag: 1.0~10 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=dec5cdb04449b10b26f263a53cacc48f40629b90;p=ctopy.git Fix unbalanced-group error. --- diff --git a/ctopy b/ctopy index f15a63a..c87a58c 100755 --- a/ctopy +++ b/ctopy @@ -29,7 +29,6 @@ shorthands = { # C functions and constants to be mapped into Python standard library bindings. funmappings = ( - # OK before this point # File object methods (from C stdlib). (r"\bfclose\(%(farg)s\)", r"\1.close()", None), (r"\bfflush\(%(farg)s\)", r"\1.flush()", None), @@ -69,10 +68,9 @@ funmappings = ( (r"\baddch\(", r"stdscr.addch(", "curses"), #addchnstr curs_addchstr(3X) #addchstr curs_addchstr(3X) - (r"\baddnstr(", r"stdscr.addnstr(", "curses"), + (r"\baddnstr\(", r"stdscr.addnstr(", "curses"), #addnwstr curs_addwstr(3X) (r"\baddstr\(", r"stdscr.addstr(", "curses"), - # OK after this point #addwstr curs_addwstr(3X) #assume_default_colors default_colors(3X)* #attr_get curs_attr(3X)