~pythonregexp2.7/python/issue2636

« back to all changes in this revision

Viewing changes to Modules/zipimport.c

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-05-24 16:05:21 UTC
  • mfrom: (39021.1.401 Regexp-2.6)
  • Revision ID: darklord@timehorse.com-20080524160521-1xenj7p6u3wb89et
Merged in changes from the latest python source snapshot.

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