A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2002-October/029852.html below:

[Python-checkins] python/dist/src/Lib/email Iterators.py,1.11,1.12

[Python-checkins] python/dist/src/Lib/email Iterators.py,1.11,1.12barry@users.sourceforge.net barry@users.sourceforge.net
Mon, 30 Sep 2002 17:51:50 -0700
Update of /cvsroot/python/python/dist/src/Lib/email
In directory usw-pr-cvs1:/tmp/cvs-serv13470

Modified Files:
	Iterators.py 
Log Message:
_structure(): Swap fp and level arguments.


Index: Iterators.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Iterators.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** Iterators.py	1 Sep 2002 21:04:43 -0000	1.11
--- Iterators.py	1 Oct 2002 00:51:47 -0000	1.12
***************
*** 15,19 ****
  
  
! def _structure(msg, level=0, fp=None):
      """A handy debugging aid"""
      if fp is None:
--- 15,19 ----
  
  
! def _structure(msg, fp=None, level=0):
      """A handy debugging aid"""
      if fp is None:
***************
*** 23,25 ****
      if msg.is_multipart():
          for subpart in msg.get_payload():
!             _structure(subpart, level+1, fp)
--- 23,25 ----
      if msg.is_multipart():
          for subpart in msg.get_payload():
!             _structure(subpart, fp, level+1)





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4