Facundo Batista wrote:
> It works, but my only issue is that it gets ugly in the help():
> 
> >>> sentinel = object()
> >>> def f(a, b=sentinel):
> ...     pass
> ...
> >>> help(f)
>   ...
>   f(a, b=<object object at 0xb7d64460>)
> 
> I know I can use a class with __str__ instead of object, but 
> what would one print in that case?

I've found "missing" to be the most common (and the most understandable)
thing to print in that case.


Robert Brewer
System Architect
Amor Ministries
[EMAIL PROTECTED]
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to