Kaydet (Commit) 2a9e3852 authored tarafından Barry Warsaw's avatar Barry Warsaw

walk(): Fix docstring; traversal is depth-first. Closes mimelib bug

#477864.
üst 2bb077f6
...@@ -423,7 +423,7 @@ class Message: ...@@ -423,7 +423,7 @@ class Message:
def walk(self): def walk(self):
"""Walk over the message tree, yielding each subpart. """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. generator.
""" """
yield self yield self
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment