Re: repr = expression representation?

2019-05-17 Thread Ben Bacarisse
Christian Gollwitzer writes: > Am 17.05.19 um 06:13 schrieb Stefan Ram: However, look at this >> >> |>>> print( str( print )) >> | >> >> |>>> print( repr( print )) >> | >> >>. While it is nice that »str( print )« gives some useful >>information, I would expect »repr( print )« to give

Re: repr = expression representation?

2019-05-17 Thread Christian Gollwitzer
Am 17.05.19 um 06:13 schrieb Stefan Ram: However, look at this |>>> print( str( print )) | |>>> print( repr( print )) | . While it is nice that »str( print )« gives some useful information, I would expect »repr( print )« to give »print« - This is impossible. Python does not use