Jun-20-2018, 01:13 AM
As of Python 3.6.5, what is the correct way to create an immutable object? Would you simply use a namedtuple? Or inherit from a namedtuple?
Correct way to implement immutable class
|
|
Messages In This Thread |
Correct way to implement immutable class - by QueenSveta - Jun-20-2018, 01:13 AM
RE: Correct way to implement immutable class - by micseydel - Jun-20-2018, 02:24 AM
RE: Correct way to implement immutable class - by volcano63 - Jun-20-2018, 05:07 AM
RE: Correct way to implement immutable class - by snippsat - Jun-20-2018, 07:34 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Right way to implement interfaces | yossiy123 | 1 | 1,346 |
May-12-2022, 10:31 AM Last Post: Gribouillis |
|
best way to implement algorithm | hamidze | 3 | 2,322 |
Feb-27-2021, 07:10 PM Last Post: hamidze |
|
How to implement class register? | AlekseyPython | 0 | 2,042 |
Feb-14-2019, 06:19 AM Last Post: AlekseyPython |
|
Immutable Book Class | QueenSvetlana | 10 | 6,454 |
Nov-27-2017, 07:31 PM Last Post: buran |