[Python-checkins] CVS: python/dist/src/Lib quopri.py,1.13,1.14

Tim Peters tim_one@users.sourceforge.net
2001年7月01日 21:57:32 -0700


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()

AltStyle によって変換されたページ (->オリジナル) /