~pythonregexp2.7/python/issue2636

« back to all changes in this revision

Viewing changes to Modules/imageop.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:
775
775
initimageop(void)
776
776
{
777
777
        PyObject *m;
 
778
        
 
779
        if (PyErr_WarnPy3k("the imageop module has been removed in "
 
780
                           "Python 3.0", 2) < 0)
 
781
            return;
 
782
        
778
783
        m = Py_InitModule("imageop", imageop_methods);
779
784
        if (m == NULL)
780
785
                return;