Commit f81b6c95 authored by Lysandre's avatar Lysandre Committed by Lysandre Debut
Browse files

Flake8 violation

parent 632675ea
...@@ -41,7 +41,7 @@ def get_examples_from_file(file): ...@@ -41,7 +41,7 @@ def get_examples_from_file(file):
example = [] example = []
else: else:
# If line is not empty, add it to the current example # If line is not empty, add it to the current example
if line is not "\n": if line != "\n":
example.append(line[example_indentation + 4 : -1]) example.append(line[example_indentation + 4 : -1])
# Detect the example from '::' or 'example::' # Detect the example from '::' or 'example::'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment