[Python-checkins] r60077 - python/trunk/Doc/c-api/utilities.rst

andrew.kuchling python-checkins at python.org
Sat Jan 19 16:16:38 CET 2008


Author: andrew.kuchling
Date: Sat Jan 19 16:16:37 2008
New Revision: 60077
Modified:
 python/trunk/Doc/c-api/utilities.rst
Log:
Polish sentence
Modified: python/trunk/Doc/c-api/utilities.rst
==============================================================================
--- python/trunk/Doc/c-api/utilities.rst	(original)
+++ python/trunk/Doc/c-api/utilities.rst	Sat Jan 19 16:16:37 2008
@@ -207,12 +207,12 @@
 .. cfunction:: PyObject* PyImport_ImportModuleNoBlock(const char *name)
 
 This version of :cfunc:`PyImport_ImportModule` does not block. It's intended
- to be used in C function which import other modules to execute a function.
+ to be used in C functions that import other modules to execute a function.
 The import may block if another thread holds the import lock. The function
- :cfunc:`PyImport_ImportModuleNoBlock` doesn't block. It first tries to fetch
+ :cfunc:`PyImport_ImportModuleNoBlock` never blocks. It first tries to fetch
 the module from sys.modules and falls back to :cfunc:`PyImport_ImportModule`
- unless the the lock is hold. In the latter case the function raises an
- ImportError.
+ unless the lock is held, in which case the function will raise an
+ :exc:`ImportError`.
 
 .. versionadded:: 2.6
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /