Fix the Mock() call in the docs.
parent
b1b26ea768
commit
d497a2221d
|
@ -39,7 +39,7 @@ You can mock out the imports for these modules in your conf.py with the followin
|
|||
pass
|
||||
|
||||
def __getattr__(self, name):
|
||||
return Mock
|
||||
return Mock()
|
||||
|
||||
MOCK_MODULES = ['pygtk', 'gtk', 'gobject', 'argparse']
|
||||
for mod_name in MOCK_MODULES:
|
||||
|
|
Loading…
Reference in New Issue