[issue5440] string.strip behaves strangly

2009-03-08 Thread Martin v. Löwis
Changes by Martin v. Löwis : -- dependencies: +string.strip behaves strangly resolution: -> duplicate status: open -> closed ___ Python tracker ___ __

[issue5440] string.strip behaves strangly

2009-03-07 Thread Ezio Melotti
Ezio Melotti added the comment: Duplicated of #5439 -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue5440] string.strip behaves strangly

2009-03-07 Thread Dongwook Jang
New submission from Dongwook Jang : Python 2.4.2 (#1, Mar 4 2008, 22:56:43) [GCC 3.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> temp = "a/b/c" >>> temp.strip("a") '/b/c' >>> temp.strip("a/") 'b/c' >>> temp.strip("a/b") 'c' >>> temp.strip("a/b/") 'c' >