Question about references/copies
c0dec at gmx.de
Sat Aug 28 11:03:56 CEST 2004
Am Sat, 28 Aug 2004 18:11:46 +1000 schrieb Anthony Baxter:
> It's all references. If you want a copy, use the copy module.
> A cast? Python has no static typing, so I'm unsure how or why you'd do a cast.
As I said, I'm new to Python and as other languages do support such casts
(as I know, in C# e.g. you have to do such casts if you are iterating
over array lists and have to access the stored objects), I thought of it
in Python too.
More information about the Python-list