]> granicus.if.org Git - python/commitdiff
_dispatch(): Comment improvements.
authorBarry Warsaw <barry@python.org>
Thu, 11 Jul 2002 18:48:40 +0000 (18:48 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 11 Jul 2002 18:48:40 +0000 (18:48 +0000)
Lib/email/Generator.py

index 333137fff2ab9515fda025c05d2eb41e3e3836fb..9377b53025ef92e50636d0a370fcf3e318a7db0f 100644 (file)
@@ -120,9 +120,9 @@ class Generator:
 
     def _dispatch(self, msg):
         # Get the Content-Type: for the message, then try to dispatch to
-        # self._handle_maintype_subtype().  If there's no handler for the full
-        # MIME type, then dispatch to self._handle_maintype().  If that's
-        # missing too, then dispatch to self._writeBody().
+        # self._handle_<maintype>_<subtype>().  If there's no handler for the
+        # full MIME type, then dispatch to self._handle_<maintype>().  If
+        # that's missing too, then dispatch to self._writeBody().
         ctype = msg.get_type()
         if ctype is None:
             # No Content-Type: header so use the default type, which must be