Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Commit

Permalink
Correct some docstrings.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikrose committed Aug 17, 2015
1 parent 8ec04d4 commit daeafc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions dxr/plugins/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,8 @@ def highlight_content(self, result):


class IdFilter(FilterAggregator):
"""Filter aggregator for id: queries, groups together the results of all filters that find
declarations and definitions of names."""
"""Filter aggregator for id: queries, groups together the results of all
filters that find declarations and definitions of names."""

name = 'id'
domain = LINE
Expand All @@ -408,8 +408,8 @@ def __init__(self, term, enabled_plugins):


class RefFilter(FilterAggregator):
"""Filter aggregator for ref: queries, grouping together the results of all filters that find
references to names."""
"""Filter aggregator for ref: queries, grouping together the results of
all filters that find references to names."""

name = 'ref'
domain = LINE
Expand Down
4 changes: 2 additions & 2 deletions dxr/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,8 @@ def chunks():


def fix_extents_overlap(extents):
"""Return a sorted list of extents whose effect is to highlight the same
characters the passed-in ones did but without overlapping each other.
"""Return a sorted iterable of extents whose effect is to highlight the
same characters the passed-in ones did but without overlapping each other.
:arg extents: A sorted iterable of (start, end) extent tuples
Expand Down

0 comments on commit daeafc1

Please sign in to comment.