[Python-checkins] CVS: python/dist/src/Lib quopri.py,1.13,1.14
Tim Peters
tim_one@users.sourceforge.net
Sun, 01 Jul 2001 21:57:32 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/PCbuild BUILDno.txt,1.11,1.11.2.1 python20.wse,1.39,1.39.2.1 pythoncore.dsp,1.13,1.13.2.1
- Next message: [Python-checkins] CVS: python/dist/src/Lib/plat-riscos riscosenviron.py,1.3,1.4 riscospath.py,1.2,1.3 rourl2path.py,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv15534/python/dist/src/Lib
Modified Files:
quopri.py
Log Message:
Whitespace normalization; the plat-riscos file didn't even get by
tabnanny.py.
Index: quopri.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/quopri.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** quopri.py 2001/06/19 22:48:10 1.13
--- quopri.py 2001/07/02 04:57:30 1.14
***************
*** 13,17 ****
!
def needsquoting(c, quotetabs):
"""Decide whether a particular character needs to be quoted.
--- 13,17 ----
!
def needsquoting(c, quotetabs):
"""Decide whether a particular character needs to be quoted.
***************
*** 30,35 ****
return ESCAPE + HEX[i/16] + HEX[i%16]
-
def encode(input, output, quotetabs):
"""Read 'input', apply quoted-printable encoding, and write to 'output'.
--- 30,35 ----
return ESCAPE + HEX[i/16] + HEX[i%16]
+
def encode(input, output, quotetabs):
"""Read 'input', apply quoted-printable encoding, and write to 'output'.
***************
*** 88,93 ****
return outfp.getvalue()
-
def decode(input, output):
"""Read 'input', apply quoted-printable decoding, and write to 'output'.
--- 88,93 ----
return outfp.getvalue()
+
def decode(input, output):
"""Read 'input', apply quoted-printable decoding, and write to 'output'.
***************
*** 132,136 ****
!
# Other helper functions
def ishex(c):
--- 132,136 ----
!
# Other helper functions
def ishex(c):
***************
*** 153,158 ****
return bits
-
def main():
import sys
--- 153,158 ----
return bits
+
def main():
import sys
***************
*** 197,202 ****
sys.exit(sts)
-
if __name__ == '__main__':
main()
--- 197,202 ----
sys.exit(sts)
+
if __name__ == '__main__':
main()
- Previous message: [Python-checkins] CVS: python/dist/src/PCbuild BUILDno.txt,1.11,1.11.2.1 python20.wse,1.39,1.39.2.1 pythoncore.dsp,1.13,1.13.2.1
- Next message: [Python-checkins] CVS: python/dist/src/Lib/plat-riscos riscosenviron.py,1.3,1.4 riscospath.py,1.2,1.3 rourl2path.py,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]