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
bba6b024
Commit
bba6b024
authored
Sep 28, 2002
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
__init__(): Minor code cleanup.
parent
5f253279
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Lib/email/MIMEText.py
Lib/email/MIMEText.py
+1
-1
No files found.
Lib/email/MIMEText.py
View file @
bba6b024
...
@@ -35,7 +35,7 @@ class MIMEText(MIMENonMultipart):
...
@@ -35,7 +35,7 @@ class MIMEText(MIMENonMultipart):
"""
"""
MIMENonMultipart
.
__init__
(
self
,
'text'
,
_subtype
,
MIMENonMultipart
.
__init__
(
self
,
'text'
,
_subtype
,
**
{
'charset'
:
_charset
})
**
{
'charset'
:
_charset
})
if
_text
and
_text
[
-
1
]
<>
'
\
n
'
:
if
_text
and
not
_text
.
endswith
(
'
\
n
'
)
:
_text
+=
'
\
n
'
_text
+=
'
\
n
'
self
.
set_payload
(
_text
,
_charset
)
self
.
set_payload
(
_text
,
_charset
)
if
_encoder
is
not
None
:
if
_encoder
is
not
None
:
...
...
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