From dec5cdb04449b10b26f263a53cacc48f40629b90 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 19 Oct 2006 16:27:03 +0000 Subject: [PATCH] Fix unbalanced-group error. --- ctopy | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) -- 2.43.0