[Python-checkins] python/dist/src/Lib/email _compat21.py,1.1,1.2 _compat22.py,1.1,1.2
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
2002年6月02日 09:38:16 -0700
Update of /cvsroot/python/python/dist/src/Lib/email
In directory usw-pr-cvs1:/tmp/cvs-serv24838
Modified Files:
_compat21.py _compat22.py
Log Message:
Get email test to pass. Barry, hope this is what you had in mind
Index: _compat21.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/_compat21.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** _compat21.py 19 May 2002 23:44:19 -0000 1.1
--- _compat21.py 2 Jun 2002 16:38:14 -0000 1.2
***************
*** 26,32 ****
# Used internally by the Header class
! def _intdiv2(i):
! """Do an integer divide by 2."""
! return i / 2
--- 26,32 ----
# Used internally by the Header class
! def _floordiv(x, y):
! """Do integer division."""
! return x / y
Index: _compat22.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/_compat22.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** _compat22.py 19 May 2002 23:44:19 -0000 1.1
--- _compat22.py 2 Jun 2002 16:38:14 -0000 1.2
***************
*** 27,33 ****
# Used internally by the Header class
! def _intdiv2(i):
! """Do an integer divide by 2."""
! return i // 2
--- 27,33 ----
# Used internally by the Header class
! def _floordiv(x, y):
! """Do integer division."""
! return x // y