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

« back to all changes in this revision

Viewing changes to Modules/zipimport.c

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-05-24 18:56:40 UTC
  • mfrom: (39055.1.22 Regexp-2.6)
  • Revision ID: darklord@timehorse.com-20080524185640-59vz6l1f7qgixgal
Merged in changes from the Single-Loop Engine branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
555
555
"zipimporter(archivepath) -> zipimporter object\n\
556
556
\n\
557
557
Create a new zipimporter instance. 'archivepath' must be a path to\n\
558
 
a zipfile. ZipImportError is raised if 'archivepath' doesn't point to\n\
559
 
a valid Zip archive.");
 
558
a zipfile, or to a specific path inside a zipfile. For example, it can be\n\
 
559
'/tmp/myimport.zip', or '/tmp/myimport.zip/mydirectory', if mydirectory is a\n\
 
560
valid directory inside the archive.\n\
 
561
\n\
 
562
'ZipImportError is raised if 'archivepath' doesn't point to a valid Zip\n\
 
563
archive.\n\
 
564
\n\
 
565
The 'archive' attribute of zipimporter objects contains the name of the\n\
 
566
zipfile targeted.");
560
567
 
561
568
#define DEFERRED_ADDRESS(ADDR) 0
562
569