[docs] [issue8626] TypeError: rsplit() takes no keyword arguments

Sandro Tosi report at bugs.python.org
Sat Jan 1 12:33:48 CET 2011

Sandro Tosi <sandro.tosi at gmail.com> added the comment:

That's interesting: do we have a place where we explain how to read the doc? I mean, a place were we can provide example/explain how we write docs, so f.e.:

  str.rsplit([sep[, maxsplit]])  

is a description for a method that could accept 2 optional arguments, none of them keyargs or

  str.encode(encoding="utf-8", errors="strict")

is a description for a method that could take 2 optional args, and they are also keyargs (yeah, I know it's kinda bad-worded, but just to give the idea).

If you think it's overkill, let's just close this bug (after all, we have all the doc written our way ;)).


nosy: +sandro.tosi

Python tracker <report at bugs.python.org>

More information about the docs mailing list