Searched refs:rcfile (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/binding/petsc4py/src/petsc4py/lib/ |
| H A D | __init__.py | 43 rcvar, rcfile = 'PETSC_ARCH', 'petsc.cfg' 44 path, arch = getPathArch(path, arch, rcvar, rcfile) 106 def getPathArch(path, arch, rcvar='PETSC_ARCH', rcfile='petsc.cfg'): argument 140 if not os.path.isfile(rcfile): 141 rcfile = os.path.join(path, rcfile) 142 if not os.path.isfile(rcfile): 147 def parse_rc(rcfile): argument 148 with open(rcfile) as f: 157 configrc = parse_rc(rcfile)
|
| H A D | __init__.pyi | 9 def getPathArch(path: str, arch: str, rcvar: str = ..., rcfile: str = ...) -> tuple[str, str]: ...
|