2002-04-10 18:01:31 -03:00
|
|
|
# Copyright (C) 2001,2002 Python Software Foundation
|
2001-09-23 00:17:28 -03:00
|
|
|
# Author: barry@zope.com (Barry Warsaw)
|
|
|
|
|
|
|
|
"""Various types of useful iterators and generators.
|
|
|
|
"""
|
|
|
|
|
2002-05-19 20:44:19 -03:00
|
|
|
try:
|
|
|
|
from email._compat22 import body_line_iterator, typed_subpart_iterator
|
|
|
|
except SyntaxError:
|
|
|
|
# Python 2.1 doesn't have generators
|
|
|
|
from email._compat21 import body_line_iterator, typed_subpart_iterator
|