most pythonic way to provide two different ways to instantiate?
most pythonic way to provide two different ways to instantiate?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!
(stackoverflow.com/users/9626214/barbaud-julien)Barbaud Julien
(stackoverflow.com/users/19593035/rochard4u)rochard4u
(stackoverflow.com/users/6890912/blhsing)blhsing
(stackoverflow.com/users/17580381/darkknight)DarkKnight
(stackoverflow.com/users/19286384/roberto-e-torres)Roberto E. Torres
A special thanks goes out to the (https://stackoverflow.com/questions/76777287/most-pythonic-way-to-provide-two-different-ways-to-instantiate)Stackexchange community
I wish you all a wonderful day! Stay safe :)
instantiation overloading python