atabac / python-on-a-chip

Automatically exported from code.google.com/p/python-on-a-chip
Other
0 stars 0 forks source link

make print with no arg print a newline #165

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This little program:

print '-'
print
print
print '-'

Prints this in cpython:
-

-

But when run in the desktop platform this is the output:
-
-

The simple work-around is to print '\0', but this might be a little
bug.

Original issue reported on code.google.com by dwhall...@gmail.com on 25 Oct 2010 at 6:42