Skip to content

Commit d717856

Browse files
committed
Fix ReST in docstrings
1 parent 8618f07 commit d717856

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

objgraph.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def typestats(objects=None, shortnames=True, filter=None):
143143
Note that classes with the same name but defined in different modules
144144
will be lumped together if ``shortnames`` is True.
145145
146-
If ``filter` is specified, it should be a function taking one argument and
146+
If ``filter`` is specified, it should be a function taking one argument and
147147
returning a boolean. Objects for which ``filter(obj)`` returns ``False``
148148
will be ignored.
149149
@@ -192,7 +192,7 @@ def most_common_types(limit=10, objects=None, shortnames=True, filter=None):
192192
Limits the return value to at most ``limit`` items. You may set ``limit``
193193
to None to avoid that.
194194
195-
If ``filter` is specified, it should be a function taking one argument and
195+
If ``filter`` is specified, it should be a function taking one argument and
196196
returning a boolean. Objects for which ``filter(obj)`` returns ``False``
197197
will be ignored.
198198
@@ -231,7 +231,7 @@ def show_most_common_types(
231231
filter=None):
232232
"""Print the table of types of most common instances.
233233
234-
If ``filter` is specified, it should be a function taking one argument and
234+
If ``filter`` is specified, it should be a function taking one argument and
235235
returning a boolean. Objects for which ``filter(obj)`` returns ``False``
236236
will be ignored.
237237
@@ -281,7 +281,7 @@ def show_growth(limit=10, peak_stats={}, shortnames=True, file=None,
281281
seen peak object counts. Usually you don't need to pay attention to this
282282
argument.
283283
284-
If ``filter` is specified, it should be a function taking one argument and
284+
If ``filter`` is specified, it should be a function taking one argument and
285285
returning a boolean. Objects for which ``filter(obj)`` returns ``False``
286286
will be ignored.
287287

0 commit comments

Comments
 (0)