Message383961
When I say True here, I'm not talking about querying, I'm talking about
syntax, as far as I know, document is supposed to support keyword
arguments, but it doesn't
Steven D'Aprano <report@bugs.python.org> 于2020年12月29日周二 上午11:36写道:
>
> Steven D'Aprano <steve+python@pearwood.info> added the comment:
>
> # True
> data.find('a', 0)
>
> That will return 0, not True.
>
>
> # False
> data.find('a', start=0)
>
>
> And that will raise TypeError, not return False.
>
>
> What exactly are you reporting here? I have read your bug report, and
> looked at the screen shot, and I have no idea what problem you think you
> have found or what you want to change about the documentation.
>
> ----------
> nosy: +steven.daprano
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue42776>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2020-12-29 06:09:04 | andy.ye.jx | set | recipients:
+ andy.ye.jx, steven.daprano, docs@python, andyye |
2020-12-29 06:09:04 | andy.ye.jx | link | issue42776 messages |
2020-12-29 06:09:04 | andy.ye.jx | create | |
|