Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f488b2c6
Commit
f488b2c6
authored
Jul 11, 2002
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
_dispatch(): Comment improvements.
parent
72351b96
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Lib/email/Generator.py
Lib/email/Generator.py
+3
-3
No files found.
Lib/email/Generator.py
View file @
f488b2c6
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment