Message92893
| Author |
ronaldoussoren |
| Recipients |
georg.brandl, ronaldoussoren |
| Date |
2009年09月20日.14:13:30 |
| SpamBayes Score |
1.7493854e-05 |
| Marked as misclassified |
No |
| Message-id |
<1253456012.32.0.661240289209.issue6953@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The documentation for the readline module is a bit too minimal.
1) function 'add_history' is described at the end of the documentation,
not near the other functions for manipulation the history stack.
2) the index for remove_history_item and replace_history_item is 0-
based,
while the index for get_history_item is 1-based.
The latter is a confusing API in the underlying readline library and
should IMO be described in Python's documentation.
(If readline were a new addition to the stdlib I'd prefer to fix the
interface, but that would have too many backward compatibility issues at
this point in time). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年09月20日 14:13:32 | ronaldoussoren | set | recipients:
+ ronaldoussoren, georg.brandl |
| 2009年09月20日 14:13:32 | ronaldoussoren | set | messageid: <1253456012.32.0.661240289209.issue6953@psf.upfronthosting.co.za> |
| 2009年09月20日 14:13:31 | ronaldoussoren | link | issue6953 messages |
| 2009年09月20日 14:13:30 | ronaldoussoren | create |
|