[svn r37931] Made that the __init__ method is the first method displayed.
--HG-- branch : trunk
This commit is contained in:
parent
27e05e257a
commit
0292420920
|
@ -417,6 +417,9 @@ class ApiPageBuilder(AbstractPageBuilder):
|
||||||
methods = self.dsa.get_class_methods(dotted_name)
|
methods = self.dsa.get_class_methods(dotted_name)
|
||||||
if methods:
|
if methods:
|
||||||
ret.append(H.h2('methods:'))
|
ret.append(H.h2('methods:'))
|
||||||
|
if '__init__' in methods:
|
||||||
|
methods.remove('__init__')
|
||||||
|
methods.insert(0, '__init__')
|
||||||
for method in methods:
|
for method in methods:
|
||||||
ret += self.build_callable_view('%s.%s' % (dotted_name,
|
ret += self.build_callable_view('%s.%s' % (dotted_name,
|
||||||
method))
|
method))
|
||||||
|
|
Loading…
Reference in New Issue