Skip to content

Commit 9c92da1

Browse files
gmaconwillmcgugan
authored andcommitted
Spelling: s/compliment/complement/ (#287)
1 parent b115dc3 commit 9c92da1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/source/walking.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The ``walk`` attribute may appear to be a method, but is in fact a callable obje
4141
for path in home_fs.walk.files(filter=['*.py']):
4242
print('Python file: {}'.format(path))
4343

44-
The compliment to ``files`` is :meth:`~fs.walk.BoundWalker.dirs` which returns paths to just the directories (and ignoring the files). Here's an example::
44+
The complement to ``files`` is :meth:`~fs.walk.BoundWalker.dirs` which returns paths to just the directories (and ignoring the files). Here's an example::
4545

4646
for dir_path in home_fs.walk.dirs():
4747
print("{!r} contains sub-directory {}".format(home_fs, dir_path))

fs/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def setinfo(self, path, info):
281281
# type: (Text, RawInfo) -> None
282282
"""Set info on a resource.
283283
284-
This method is the compliment to `~fs.base.FS.getinfo`
284+
This method is the complement to `~fs.base.FS.getinfo`
285285
and is used to set info values on a resource.
286286
287287
Arguments:

0 commit comments

Comments
 (0)