| 1 | # -*- coding: utf-8 -*- |
| 2 | import sysscip-python python python-stdlib 3.11 sys/__init__: |
| 3 | |
| 4 | sysscip-python python python-stdlib 3.11 sys/__init__:.pathscip-python python python-stdlib 3.11 sys/path.path..insertscip-python python python-stdlib 3.11 builtins/list#insert().(0, '../') |
| 5 | |
| 6 | |
| 7 | class Mockscip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#(objectscip-python python python-stdlib 3.11 builtins/object#): |
| 8 | def __init__scip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#__init__().(selfscip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#__init__().(self), *argsscip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#__init__().(args), **kwargsscip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#__init__().(kwargs)): |
| 9 | pass |
| 10 | |
| 11 | def __call__scip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#__call__().(selfscip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#__call__().(self), *argsscip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#__call__().(args), **kwargsscip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#__call__().(kwargs)): |
| 12 | return Mockscip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#() |
| 13 | |
| 14 | @classmethodscip-python python python-stdlib 3.11 builtins/classmethod# |
| 15 | def __getattr__scip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#__getattr__().(clsscip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#__getattr__().(cls), namescip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#__getattr__().(name)): |
| 16 | printscip-python python python-stdlib 3.11 builtins/print(). "Getting mock: ", namescip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#__getattr__().(name) |
| 17 | if namescip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#__getattr__().(name) in ('__file__', '__path__'): |
| 18 | return '/dev/null' |
| 19 | # Special case for CFFI |
| 20 | elif namescip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#__getattr__().(name) in ('FFI', 'Verifier'): |
| 21 | return Mockscip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#() |
| 22 | elif namescip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#__getattr__().(name)[0] == namescip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#__getattr__().(name)[0].upper(): |
| 23 | mockType = typescip-python python python-stdlib 3.11 builtins/type#(namescip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#__getattr__().(name), (), {}) |
| 24 | mockType.__module__ = __name__scip-python python gphoto2-cffi 0.4.2 `doc.conf`/ |
| 25 | return mockType |
| 26 | else: |
| 27 | return Mockscip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#() |
| 28 | |
| 29 | MOCK_MODULESscip-python python gphoto2-cffi 0.4.2 `doc.conf`/MOCK_MODULES. = ['cffi', 'cffi.verifier'] |
| 30 | for mod_namescip-python python gphoto2-cffi 0.4.2 `doc.conf`/mod_name. in MOCK_MODULESscip-python python gphoto2-cffi 0.4.2 `doc.conf`/MOCK_MODULES.: |
| 31 | sysscip-python python python-stdlib 3.11 sys/__init__:.modulesscip-python python python-stdlib 3.11 sys/modules.modules.[mod_namescip-python python gphoto2-cffi 0.4.2 `doc.conf`/mod_name.] = Mockscip-python python gphoto2-cffi 0.4.2 `doc.conf`/Mock#() |
| 32 | |
| 33 | extensionsscip-python python gphoto2-cffi 0.4.2 `doc.conf`/extensions. = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode'] |
| 34 | |
| 35 | templates_pathscip-python python gphoto2-cffi 0.4.2 `doc.conf`/templates_path. = ['_templates'] |
| 36 | source_suffixscip-python python gphoto2-cffi 0.4.2 `doc.conf`/source_suffix. = '.rst' |
| 37 | master_docscip-python python gphoto2-cffi 0.4.2 `doc.conf`/master_doc. = 'index' |
| 38 | |
| 39 | projectscip-python python gphoto2-cffi 0.4.2 `doc.conf`/project. = u'gphoto2-cffi' |
| 40 | copyrightscip-python python gphoto2-cffi 0.4.2 `doc.conf`/copyright. = u'2014, Johannes Baiter' |
| 41 | versionscip-python python gphoto2-cffi 0.4.2 `doc.conf`/version. = '0.1' |
| 42 | releasescip-python python gphoto2-cffi 0.4.2 `doc.conf`/release. = '0.1' |
| 43 | |
| 44 | exclude_patternsscip-python python gphoto2-cffi 0.4.2 `doc.conf`/exclude_patterns. = ['_build'] |
| 45 | pygments_stylescip-python python gphoto2-cffi 0.4.2 `doc.conf`/pygments_style. = 'sphinx' |
| 46 | |
| 47 | html_static_pathscip-python python gphoto2-cffi 0.4.2 `doc.conf`/html_static_path. = ['_static'] |
| 48 | htmlhelp_basenamescip-python python gphoto2-cffi 0.4.2 `doc.conf`/htmlhelp_basename. = 'gphoto2-cffidoc' |
| 49 | |
| 50 | latex_elementsscip-python python gphoto2-cffi 0.4.2 `doc.conf`/latex_elements. = { |
| 51 | 'preamble': '', |
| 52 | } |
| 53 | |
| 54 | latex_documentsscip-python python gphoto2-cffi 0.4.2 `doc.conf`/latex_documents. = [ |
| 55 | ('index', 'gphoto2-cffi.tex', u'gphoto2-cffi Documentation', |
| 56 | u'Johannes Baiter', 'manual'), |
| 57 | ] |
| 58 | |
| 59 | man_pagesscip-python python gphoto2-cffi 0.4.2 `doc.conf`/man_pages. = [ |
| 60 | ('index', 'gphoto2-cffi', u'gphoto2-cffi Documentation', |
| 61 | [u'Johannes Baiter'], 1) |
| 62 | ] |
| 63 | |
| 64 | texinfo_documentsscip-python python gphoto2-cffi 0.4.2 `doc.conf`/texinfo_documents. = [ |
| 65 | ('index', 'gphoto2-cffi', u'gphoto2-cffi Documentation', |
| 66 | u'Johannes Baiter', 'gphoto2-cffi', 'One line description of project.', |
| 67 | 'Miscellaneous'), |
| 68 | ] |