Converts string to int, ignoring trailing 'rc...'.
(text)
| 398 | mupdf.reinit_singlethreaded() |
| 399 | |
| 400 | def _int_rc(text): |
| 401 | ''' |
| 402 | Converts string to int, ignoring trailing 'rc...'. |
| 403 | ''' |
| 404 | rc = text.find('rc') |
| 405 | if rc >= 0: |
| 406 | text = text[:rc] |
| 407 | return int(text) |
| 408 | |
| 409 | # Basic version information. |
| 410 | # |
no test coverage detected
searching dependent graphs…