~pythonregexp2.7/python/issue2636-09-01+10

« back to all changes in this revision

Viewing changes to Doc/library/imp.rst

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-22 21:39:45 UTC
  • mfrom: (39055.1.33 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080922213945-23717m5eiqpamcyn
Merged in changes from the Single-Loop Engine branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
   searched, but first it searches a few special places: it tries to find a
43
43
   built-in module with the given name (:const:`C_BUILTIN`), then a frozen
44
44
   module (:const:`PY_FROZEN`), and on some systems some other places are looked
45
 
   in as well (on the Mac, it looks for a resource (:const:`PY_RESOURCE`); on
46
 
   Windows, it looks in the registry which may point to a specific file).
 
45
   in as well (on Windows, it looks in the registry which may point to a
 
46
   specific file).
47
47
 
48
48
   If search is successful, the return value is a 3-element tuple ``(file,
49
49
   pathname, description)``:
153
153
   The module was found as dynamically loadable shared library.
154
154
 
155
155
 
156
 
.. data:: PY_RESOURCE
157
 
 
158
 
   The module was found as a Mac OS 9 resource.  This value can only be returned on
159
 
   a Mac OS 9 or earlier Macintosh.
160
 
 
161
 
 
162
156
.. data:: PKG_DIRECTORY
163
157
 
164
158
   The module was found as a package directory.