diff options
author | murphy <murphy@rubychan.de> | 2010-04-14 23:59:03 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-04-14 23:59:03 +0000 |
commit | 200144dd009d33ff8334be24d0fb2cc91b3a87ab (patch) | |
tree | f46c939cd01b8d4165b5d9f3444c20e072b51408 /test/scanners/python/python3.in.py | |
parent | 612a14e17bdae5dbb5b13cdceec797523725cbbe (diff) | |
download | coderay-200144dd009d33ff8334be24d0fb2cc91b3a87ab.tar.gz |
Moving scanner tests into separate repository. The repository can be reached at http://svn.rubychan.de/coderay-scanner-tests/trunk.
Diffstat (limited to 'test/scanners/python/python3.in.py')
-rw-r--r-- | test/scanners/python/python3.in.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/test/scanners/python/python3.in.py b/test/scanners/python/python3.in.py deleted file mode 100644 index 178a798..0000000 --- a/test/scanners/python/python3.in.py +++ /dev/null @@ -1,19 +0,0 @@ -Old: print "The answer is", 2*2 -New: print("The answer is", 2*2) - -Old: print x, # Trailing comma suppresses newline -New: print(x, end=" ") # Appends a space instead of a newline - -Old: print # Prints a newline -New: print() # You must call the function! - -Old: print >>sys.stderr, "fatal error" -New: print("fatal error", file=sys.stderr) - -Old: print (x, y) # prints repr((x, y)) -New: print((x, y)) # Not the same as print(x, y)! - -print("There are <", 2**32, "> possibilities!", sep="") - - -b"byte string\99\""
\ No newline at end of file |