On Sat, 30 Jul 2011 23:47:36 -0700
Raymond Hettinger <[email protected]> wrote:
> >
> > (Also, there must have been some reason to make "..." available everywhere
> > for Python 3.)
> >
>
> It's really nice for stub functions:
>
> def foo(x):
> ...
Using a docstring looks a lot less hackish (and it encourages you to
write a doc!):
def foo(x):
"""Some stub function."""
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com