[Python-checkins] python/dist/src/Lib this.py,1.3,1.4
perky at users.sourceforge.net
perky at users.sourceforge.net
Thu Feb 5 23:40:58 EST 2004
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32534
Modified Files:
this.py
Log Message:
Back rev 1.3 out per Raymond's request.
Index: this.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/this.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** this.py 6 Feb 2004 02:52:15 -0000 1.3
--- this.py 6 Feb 2004 04:40:56 -0000 1.4
***************
*** 21,23 ****
Anzrfcnprf ner bar ubaxvat terng vqrn -- yrg'f qb zber bs gubfr!"""
! print s.decode('rot_13')
--- 21,28 ----
Anzrfcnprf ner bar ubaxvat terng vqrn -- yrg'f qb zber bs gubfr!"""
! d = {}
! for c in (65, 97):
! for i in range(26):
! d[chr(i+c)] = chr((i+13) % 26 + c)
!
! print "".join([d.get(c, c) for c in s])
More information about the Python-checkins
mailing list