Skip to content

Commit

Permalink
Merge pull request #45 from zopefoundation/dataflake/send_docstring
Browse files Browse the repository at this point in the history
Remove doc string from the MailHost ``send`` method to prevent publishing
  • Loading branch information
dataflake committed Feb 7, 2024
2 parents 94f2c4e + bc9f332 commit b5b1e16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Changelog
5.1 (unreleased)
----------------

- Remove doc string from the MailHost ``send`` method to prevent publishing.

- Add support for Python 3.12.


Expand Down
7 changes: 2 additions & 5 deletions src/Products/MailHost/MailHost.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,8 @@ def send(self,
immediate=False,
charset=None,
msg_type=None):
"""send *messageText* modified by the other parameters.
*messageText* can either be an ``email.message.Message``
or a string.
"""
# send *messageText* modified by the other parameters.
# *messageText* can be an ``email.message.Message`` or a string.
msg, mto, mfrom = _mungeHeaders(messageText, mto, mfrom,
subject, charset, msg_type,
encode)
Expand Down

0 comments on commit b5b1e16

Please sign in to comment.