+ 1
How i can make an generic class on python or ruby?
10 Antworten
+ 1
class Generic:
pass
+ 1
I don't understand...
+ 1
Be specific in your question: define 'make'
+ 1
A class like "class SomeClass<T>{ }" in C#
+ 1
Like I said wrote
+ 1
Check out my code - lots of classes there
https://code.sololearn.com/cpi4kzhQ8JDq/?ref=app
+ 1
I want create a class with generic types
+ 1
like the "<T>" in C#
+ 1
What do you want me to say? Rtfd
https://www.python.org/dev/peps/pep-0484/
By Guido van Rossum himself.
+ 1
YES, THANK YOU!!!