By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,675 Members | 2,255 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,675 IT Pros & Developers. It's quick & easy.

replicating objects

P: n/a
Hi there,

I'v got a composite object that I want to replicate
(say, similar to C++'s copy constructor). What is the
best way to implement that ? Are there any metaprogramming
techniques that could me help to achieve what I want ?

Thanks,
Stefan

Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Stefan Seefeld wrote:
I'v got a composite object that I want to replicate
(say, similar to C++'s copy constructor). What is the
best way to implement that ? Are there any metaprogramming
techniques that could me help to achieve what I want ?


http://www.python.org/doc/current/lib/module-copy.html
--
Proud "php freak that likes to stick to the rules". Actually, Python.
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.