[issue17205] In the help() function the order of methods changes

2013-02-14 Thread R. David Murray
R. David Murray added the comment: Ramchandra is correct. If you were to implement a "don't sort" flag, what you would get is *random* order (and a different order each time, in 3.3+). Further, this is Python-interpreter internal data structure we are talking about, so it isn't even an option

[issue17205] In the help() function the order of methods changes

2013-02-14 Thread Ramchandra Apte
Ramchandra Apte added the comment: Sorry, but there is no way of telling the order as methods are respresented internally as a dictionary. Please close this as invalid. -- nosy: +ramchandra.apte ___ Python tracker

[issue17205] In the help() function the order of methods changes

2013-02-14 Thread py.user
New submission from py.user: >>> class A: ... '''class''' ... def c(self): ... '''c doc''' ... pass ... def b(self): ... '''b doc''' ... pass ... def a(self): ... '''a doc''' ... pass ... >>> help(A) class A(builtins.object) | class | | Methods defined her