summaryrefslogtreecommitdiff
path: root/fs/__init__.py
diff options
context:
space:
mode:
authorwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2010-06-18 18:53:33 +0000
committerwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2010-06-18 18:53:33 +0000
commit75fe116f57cfc20922ef0cb4d33a3e423189edb0 (patch)
tree610dd8ac9a9f0453a59c0652c5d5dca59617b0c7 /fs/__init__.py
parent4ded92bcaea1500a89678272769837f084b3200d (diff)
downloadpyfilesystem-git-75fe116f57cfc20922ef0cb4d33a3e423189edb0.tar.gz
Mostly doc changes, and some pedantic pep-8 tweaks
Diffstat (limited to 'fs/__init__.py')
-rw-r--r--fs/__init__.py4
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