mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
walk(): Fix docstring; traversal is depth-first. Closes mimelib bug
#477864.
This commit is contained in:
parent
2bb077f630
commit
2a9e3852ee
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue