diff options
Diffstat (limited to 'fs/__init__.py')
-rw-r--r-- | fs/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/__init__.py b/fs/__init__.py index e89ed93..a3fa757 100644 --- a/fs/__init__.py +++ b/fs/__init__.py @@ -28,13 +28,13 @@ import path _thread_synchronize_default = True def set_thread_synchronize_default(sync): - """Sets the default thread synctonisation flag. + """Sets the default thread synchronisation flag. FS objects are made thread-safe through the use of a per-FS threading Lock object. Since this can introduce an small overhead it can be disabled with this function if the code is single-threaded. - :param sync: Set wether to use thread synchronization for new FS objects + :param sync: Set whether to use thread synchronisation for new FS objects """ global _thread_synchronization_default |