@@ -95,7 +95,7 @@ Let's see how these are implemented.
9595.. [#] See ``examples/xmp.py`` for the argument list of the fs methods.
9696
9797 Regarding return values: in each method, you can signal success or
98- error by returning ``0`` (*succes *), a negative number (*error*,
98+ error by returning ``0`` (*success *), a negative number (*error*,
9999 interpreted as negated errno), not returning anything (*success*) or
100100 by raising (not catching) an exception (*error*, Python infers an
101101 errno from the nature of the exception).
@@ -197,7 +197,7 @@ Simple objects to represent system structures
197197
198198In old Pythons, ``os.stat()`` returned file attributes as a tuple, and
199199for the convenient access of the stat values, you got a bunch of
200- constats with it (so you queried file size like
200+ constants with it (so you queried file size like
201201``os.stat("foofile")[stat.ST_SIZE]``). While this approach still works,
202202and if you print a stat result, it looks like a tuple, *it is, in fact,
203203not a tuple*. It's an object which is immutable and provides the
@@ -219,8 +219,8 @@ Similarly, when listing directories, you have to return a sequence of
219219``fuse.Direntry`` objects which can be constructed from filenames
220220(``fuse.Direntry("foofile")``).
221221
222- Does the above senctence make sense? I hope so. Anyway, *it's not true
223- as is*. (Truth has been sacrified for making it short.) Don't worry, we
222+ Does the above sentence make sense? I hope so. Anyway, *it's not true
223+ as is*. (Truth has been sacrificed for making it short.) Don't worry, we
224224uncover the lies immediately:
225225
226226- *You don't necessarily have to return a sequence*. You just have to
@@ -247,7 +247,7 @@ so called *filehandle*. [#]_ FUSE internally will allocate a (FUSE)
247247filehandle upon open, and keep a record of your (Python) filehandle.
248248When the system will want to use the FUSE filehandle for I/O, the
249249respective Python method will get the (py-)filehandle as an argument.
250- Ie ., you can use the filehandle to preserve a state.
250+ I.e ., you can use the filehandle to preserve a state.
251251
252252You might as well want the filehandle to be an instance of a dedicated
253253class, and want the filesystem methods get delegated to the filehandle.
@@ -287,7 +287,7 @@ Complete support for hi-lib
287287The Python bindings support all highlevel (pathname based) methods of
288288the Fuse library as of API revision 26, including `create`, `access`,
289289`flush`, extended attributes, advisory file locking, nanosec precise
290- setting of acces /modify times, and `bmap`.
290+ setting of access /modify times, and `bmap`.
291291
292292
293293Reflection
@@ -327,6 +327,6 @@ Long-term compatibility
327327Your filesystem is expected to set ``fuse.fuse_python_api`` in order to
328328make it easy for the fuse module to find out the which FUSE-Python API revision
329329is appropriate for your code. Concretely, set ``fuse.fuse_python_api``
330- to the value of ``fuse.FUSE_PYTHON_API_VERSION`` as it's definied in the fuse.pyi
330+ to the value of ``fuse.FUSE_PYTHON_API_VERSION`` as it's defined in the fuse.pyi
331331instance you code your filesystem against. This ensures that your code will
332332keep working even if further API revisions take place.
0 commit comments