(s)
| 295 | return r |
| 296 | |
| 297 | def remove_ext(s): |
| 298 | r=s |
| 299 | i=len(s) |
| 300 | j=-1 |
| 301 | while i>=0: |
| 302 | i=i-1 |
| 303 | if s[i]==".": |
| 304 | j=i |
| 305 | break |
| 306 | if j>=0: |
| 307 | r=s.__getslice__(0,j) |
| 308 | return r |
| 309 | |
| 310 | def remove_end_nums(s): |
| 311 | r=s |
no test coverage detected