summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-11-05 19:19:55 (GMT)
committerBarry Warsaw <barry@python.org>2001-11-05 19:19:55 (GMT)
commit2a9e3852eeaa3a4d039e2dcedded011dddb612c0 (patch)
tree4b03a410342783e86814e552a1eefaa2540adff4
parent2bb077f6301db83f2c5ee6c51e1837048be008e4 (diff)
downloadcpython-2a9e3852eeaa3a4d039e2dcedded011dddb612c0.zip
cpython-2a9e3852eeaa3a4d039e2dcedded011dddb612c0.tar.gz
cpython-2a9e3852eeaa3a4d039e2dcedded011dddb612c0.tar.bz2
walk(): Fix docstring; traversal is depth-first. Closes mimelib bug
#477864.
-rw-r--r--Lib/email/Message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/Message.py b/Lib/email/Message.py
index 6f0db85..7216e38 100644
--- a/Lib/email/Message.py
+++ b/Lib/email/Message.py
@@ -423,7 +423,7 @@ class Message:
def walk(self):
"""Walk over the message tree, yielding each subpart.
- The walk is performed in breadth-first order. This method is a
+ The walk is performed in depth-first order. This method is a
generator.
"""
yield self