Skip to content

Commit 8b37312

Browse files
author
dzsekijo
committed
random docstring fixes
1 parent 4e22c39 commit 8b37312

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

fuse.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -228,14 +228,14 @@ class FuseOptParse(SubbedOptParse):
228228
option unhandled, and the fs author can add a handler as she desires.
229229
``dash_s_do=setsingle`` enables the traditional behaviour.
230230
231-
While using ``dash_s_do=setsingle`` usually won't be a problem, it might
232-
have suprising side effects. We want fs authors should be aware of it,
233-
therefore the default is the ``dash_s_do=whine`` setting which raises an
234-
exception for ``-s`` and suggests the user to read this documentation.
231+
Using ``dash_s_do=setsingle`` is not problematic at all, but we want fs
232+
authors be aware of the particularity of ``-s``, therefore the default is
233+
the ``dash_s_do=whine`` setting which raises an exception for ``-s`` and
234+
suggests the user to read this documentation.
235235
236236
dash_o_handler
237237
Argument should be a SubbedOpt instance (created with
238-
``action="store_hive" if you want it to be useful).
238+
``action="store_hive"`` if you want it to be useful).
239239
This lets you customize the handler of the ``-o`` option. For example,
240240
you can alter or suppress the generic ``-o`` entry in help output.
241241
"""
@@ -699,15 +699,15 @@ def main(self, args=None):
699699

700700
def lowwrap(self, fname):
701701
"""
702-
Wraps the fname method when the C code expects a different kind of
703-
callback than we have in the fusepy API. (The wrapper is usually for
704-
performing some checks or transfromations which could be done in C but
705-
is simpler if done in Python.)
706-
707-
Currently `open` and `create` are wrapped: a boolean flag is added
708-
which indicates if the result is to be kept during the opened file's
709-
lifetime or can be thrown away. Namely, it's considered disposable
710-
if it's an instance of FuseFileInfo.
702+
Wraps the fname method when the C code expects a different kind of
703+
callback than we have in the fusepy API. (The wrapper is usually for
704+
performing some checks or transfromations which could be done in C but
705+
is simpler if done in Python.)
706+
707+
Currently `open` and `create` are wrapped: a boolean flag is added
708+
which indicates if the result is to be kept during the opened file's
709+
lifetime or can be thrown away. Namely, it's considered disposable
710+
if it's an instance of FuseFileInfo.
711711
"""
712712
fun = getattr(self, fname)
713713

0 commit comments

Comments
 (0)