summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-07-11 18:48:40 (GMT)
committerBarry Warsaw <barry@python.org>2002-07-11 18:48:40 (GMT)
commitf488b2c6d58d2a65ff21280471b0f0ebf7727462 (patch)
tree1832d855ac854b0c80885f866d4a0dd2d54d3f67 /Lib
parent72351b96492be245de4849013fab652f40cae643 (diff)
downloadcpython-f488b2c6d58d2a65ff21280471b0f0ebf7727462.zip
cpython-f488b2c6d58d2a65ff21280471b0f0ebf7727462.tar.gz
cpython-f488b2c6d58d2a65ff21280471b0f0ebf7727462.tar.bz2
_dispatch(): Comment improvements.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/email/Generator.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/email/Generator.py b/Lib/email/Generator.py
index 333137f..9377b53 100644
--- a/Lib/email/Generator.py
+++ b/Lib/email/Generator.py
@@ -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