|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
deep copy
How do I make a deep copy of an int? Thanks
|
|
#2
|
||||
|
||||
|
How deep do you want it?
![]() a = 5 b = a is as deep as it gets!
__________________
*** Experimental Python Markup CGI V2 *** Last edited by Grim Archon : April 7th, 2004 at 11:58 AM. |
|
#3
|
|||
|
|||
|
I think what Grim means is that the concept of 'a deep copy of an int' is meaningless in Python (or any other language).
Perhaps if you explain *why* you think you need a deep copy of an int - describe the problem you are trying to solve - then we may be able to give you a more meaningful answer. Dave - The Developers' Coach |
|
#4
|
||||
|
||||
Sorry, I was having a wild moment Put in too many bug-hunting hours and I need feeding![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > deep copy |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|