Type hinting of Python is just a toy ?
Chris Angelico
rosuav at gmail.com
Fri Jan 4 12:58:13 EST 2019
On Sat, Jan 5, 2019 at 4:43 AM iamybj--- via Python-list
<python-list at python.org> wrote:
>
> { id: 1, name:’abc’, age:99, address:{province:’CA’, city:’SA’}}
>
> Can be represent by:
>
> Class Address {
> public string province;
> public string city;
> }
>
> Class Person {
> public int id;
> public string name;
> public int age;
> public Address address;
> }
http://wiki.c2.com/?BlubParadox
ChrisA
More information about the Python-list
mailing list