Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

replace node.doc with node.doc_node in method _process_for_docstring #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
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
2 changes: 1 addition & 1 deletion pylint_quotes/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def _process_for_docstring(self, node, node_type):
node_type: the type of node being operated on.
"""
# if there is no docstring, don't need to do anything.
if node.doc is not None:
if node.doc_node is not None:

# the module is everything, so to find the docstring, we
# iterate line by line from the start until the first element
Expand Down