boto/boto — Issue #460: could not get help content for boto.connect_autoscale()
Author: jumping
Created: 2012-01-05 01:05:17+00:00
State: open

>>> conn = boto.connect_autoscale()
>>> actives = conn.get_all_activities('web-as-group')
>>>help(conn)
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.5/site.py", line 346, in __call__
return pydoc.help(*args, **kwds)
File "/usr/local/lib/python2.5/pydoc.py", line 1646, in __call__
self.help(request)
File "/usr/local/lib/python2.5/pydoc.py", line 1690, in help
else: doc(request, 'Help on %s:')
File "/usr/local/lib/python2.5/pydoc.py", line 1482, in doc
pager(title % desc + '\n\n' + text.document(object, name))
File "/usr/local/lib/python2.5/pydoc.py", line 325, in document
if inspect.isclass(object): return self.docclass(*args)
File "/usr/local/lib/python2.5/pydoc.py", line 1197, in docclass
lambda t: t[1] == 'method')
File "/usr/local/lib/python2.5/pydoc.py", line 1147, in spill
name, mod, object))
File "/usr/local/lib/python2.5/pydoc.py", line 326, in document
if inspect.isroutine(object): return self.docroutine(*args)
File "/usr/local/lib/python2.5/pydoc.py", line 1258, in docroutine
doc = getdoc(object) or ''
File "/usr/local/lib/python2.5/pydoc.py", line 82, in getdoc
result = inspect.getdoc(object) or inspect.getcomments(object)
File "/usr/local/lib/python2.5/inspect.py", line 521, in getcomments
lines, lnum = findsource(object)
File "/usr/local/lib/python2.5/inspect.py", line 510, in findsource
if pat.match(lines[lnum]): break
IndexError: list index out of range