_dispatch(): Comment improvements.

This commit is contained in:
Barry Warsaw 2002-07-11 18:48:40 +00:00
parent 72351b9649
commit f488b2c6d5
1 changed files with 3 additions and 3 deletions

View 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