MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / _int_rc

Function _int_rc

src/__init__.py:400–407  ·  view source on GitHub ↗

Converts string to int, ignoring trailing 'rc...'.

(text)

Source from the content-addressed store, hash-verified

398 mupdf.reinit_singlethreaded()
399
400def _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#

Callers 1

__init__.pyFile · 0.85

Calls 1

findMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…