Kaydet (Commit) f488b2c6 authored tarafından Barry Warsaw's avatar Barry Warsaw

_dispatch(): Comment improvements.

üst 72351b96
...@@ -120,9 +120,9 @@ class Generator: ...@@ -120,9 +120,9 @@ class Generator:
def _dispatch(self, msg): def _dispatch(self, msg):
# Get the Content-Type: for the message, then try to dispatch to # Get the Content-Type: for the message, then try to dispatch to
# self._handle_maintype_subtype(). If there's no handler for the full # self._handle_<maintype>_<subtype>(). If there's no handler for the
# MIME type, then dispatch to self._handle_maintype(). If that's # full MIME type, then dispatch to self._handle_<maintype>(). If
# missing too, then dispatch to self._writeBody(). # that's missing too, then dispatch to self._writeBody().
ctype = msg.get_type() ctype = msg.get_type()
if ctype is None: if ctype is None:
# No Content-Type: header so use the default type, which must be # No Content-Type: header so use the default type, which must be
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment