summaryrefslogtreecommitdiff
path: root/examples/custom_raw.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/custom_raw.py')
-rw-r--r--examples/custom_raw.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/custom_raw.py b/examples/custom_raw.py
index 30e90bfac..a86666724 100644
--- a/examples/custom_raw.py
+++ b/examples/custom_raw.py
@@ -21,7 +21,7 @@ class MyRawChecker(BaseChecker):
the module's content is accessible via node.stream() function
"""
- with module.stream() as stream:
+ with node.stream() as stream:
for (lineno, line) in enumerate(stream):
if line.rstrip().endswith('\\'):
self.add_message('backslash-line-continuation',