[Python-Dev] PEP 362 Third Revision (original) (raw)
Yury Selivanov yselivanov.ml at gmail.com
Thu Jun 14 23:20:47 CEST 2012
- Previous message: [Python-Dev] PEP 362 Third Revision
- Next message: [Python-Dev] PEP 362 Third Revision
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2012-06-14, at 4:53 PM, Antoine Pitrou wrote:
On Wed, 13 Jun 2012 22:52:43 -0400 Yury Selivanov <yselivanov.ml at gmail.com> wrote:
* bind(*args, **kwargs) -> BoundArguments Creates a mapping from positional and keyword arguments to parameters. Raises a
BindError
(subclass ofTypeError
) if the passed arguments do not match the signature. Why a dedicated exception class? TypeError is good enough, and the proliferation of exception classes is a nuisance.
Agree. Will fix this.
Thanks,
- Yury
- Previous message: [Python-Dev] PEP 362 Third Revision
- Next message: [Python-Dev] PEP 362 Third Revision
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]