| commit | 46bb4aeb5e792b72810062f289151fde7d27a73b | [log] [tgz] |
|---|---|---|
| author | David Reiss <dreiss@apache.org> | Wed Jan 14 22:34:15 2009 +0000 |
| committer | David Reiss <dreiss@apache.org> | Wed Jan 14 22:34:15 2009 +0000 |
| tree | 80efa4f7bd71d89e83b8a8d7d21873edc56834ae | |
| parent | 7bcf866c16525ee7ca709e250178a61333db27c4 [diff] |
THRIFT-242. python: Used named arguments in __init__ instead of a dict
This is a wire-compatible but non-source-compatible change.
When initializing structures, you must use
Foo(bar=1, baz="qux")
Foo(**{"bar": 1, "baz": "qux"})
instead of
Foo({"bar": 1, "baz": "qux"})
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@734536 13f79535-47bb-0310-9956-ffa450edef68