Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix PEP8 error
  • Loading branch information
fuzzythecat authored Sep 25, 2019
commit eaa651f21eea020077b068f073a554fd5160f7d2
2 changes: 1 addition & 1 deletion docs/autogen.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def copy_examples(examples_dir, destination_dir):
docstring, starting_line = get_module_docstring(module_path)
destination_file = os.path.join(destination_dir, file[:-2] + 'md')
with open(destination_file, 'w+', encoding='utf-8') as f_out, \
open(os.path.join(examples_dir, file),
open(os.path.join(examples_dir, file),
'r+', encoding='utf-8') as f_in:

f_out.write(docstring + '\n\n')
Expand Down