[issue34644] Bug in reverse method

2018-09-12 Thread Steven D'Aprano
Steven D'Aprano added the comment: This is not a bug or a syntax error, and the behaviour goes back to at least Python 1.5 if not older. List.reverse returns a reference to the method object itself. List.reverse() *calls* the method. This is standard behaviour in Python, all methods and

[issue34644] Bug in reverse method

2018-09-12 Thread Rajesh
New submission from Rajesh : List.reverse() this is working in reverse order List.reverse this is not giving syntax error and printing the list as it is. Can you consider this as bug and fix it in further versions ? -- messages: 325136 nosy: rajesh99div99 priority: