diff --git a/doc/conf.py b/doc/conf.py
index 552cd0b946245149b5dce95fb12c25755b4adf05..96425f5ca36ff47d647ad0d33baf6e14b5cb32a6 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -361,7 +361,7 @@ epub_exclude_files = ['search.html']
 autoclass_content = 'class'
 
 # Document private members and special members (e.g. __init__)
-autodocsourc_default_flags = ['private-members', 'special-members']
+autodoc_default_flags = ['private-members', 'special-members']
 
 # Documentation for python modules is in the same order
 # as the source code.