-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
using fake modules to prevent sphinx from actually importing
- Loading branch information
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
"""Mock module for Sphinx autodoc.""" | ||
|
||
|
||
class FFI(object): | ||
|
||
def cdef(self, _): | ||
pass | ||
|
||
def dlopen(self, _): | ||
return self | ||
|
||
def string(self, _): | ||
return b'not implemented' | ||
|
||
def sf_version_string(self): | ||
return NotImplemented | ||
|
||
SFC_GET_FORMAT_INFO = NotImplemented |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
"""Mock module for Sphinx autodoc.""" | ||
|
||
|
||
def dtype(_): | ||
return NotImplemented |