New submission from Mital Ashok :
There's no reason that `count('', 'a')` for `'', 'a', 'aa', ...` or `count((),
(1,))` for `(), (1,), (1, 1), ...` shouldn't work.
count(a, b) should be equivalent to accumulate(chain((a,), repeat(
New submission from Mital Ashok:
Take this format python code:
import unicodedata
c = chr(0x012345)
To print that character as a string literal, you would expect to do:
print(f"'\\N{{{unicodedata.name(c)}}}'")
Which should print a literal quote (`
New submission from Mital Ashok:
(This is more of a feature request than a bug, but
https://www.python.org/dev/peps/pep-0042/ said to post it here)
My request is to have syntax like this:
yield *iterable
to lazily return the iterable's items, not much unlike:
# ...
for