+ 1

How i can make an generic class on python or ruby?

26th Apr 2018, 2:59 AM
Saúl Chávez Sánchez
Saúl Chávez Sánchez - avatar
10 ответов
+ 1
class Generic: pass
26th Apr 2018, 8:15 AM
Johannes
Johannes - avatar
+ 1
I don't understand...
26th Apr 2018, 11:43 AM
Saúl Chávez Sánchez
Saúl Chávez Sánchez - avatar
+ 1
Be specific in your question: define 'make'
26th Apr 2018, 1:57 PM
Johannes
Johannes - avatar
+ 1
A class like "class SomeClass<T>{ }" in C#
26th Apr 2018, 7:48 PM
Saúl Chávez Sánchez
Saúl Chávez Sánchez - avatar
+ 1
Like I said wrote
26th Apr 2018, 8:01 PM
Johannes
Johannes - avatar
+ 1
Check out my code - lots of classes there https://code.sololearn.com/cpi4kzhQ8JDq/?ref=app
26th Apr 2018, 8:47 PM
Johannes
Johannes - avatar
+ 1
I want create a class with generic types
26th Apr 2018, 9:31 PM
Saúl Chávez Sánchez
Saúl Chávez Sánchez - avatar
+ 1
like the "<T>" in C#
26th Apr 2018, 9:31 PM
Saúl Chávez Sánchez
Saúl Chávez Sánchez - avatar
+ 1
What do you want me to say? Rtfd https://www.python.org/dev/peps/pep-0484/ By Guido van Rossum himself.
27th Apr 2018, 4:53 AM
Johannes
Johannes - avatar
+ 1
YES, THANK YOU!!!
27th Apr 2018, 1:20 PM
Saúl Chávez Sánchez
Saúl Chávez Sánchez - avatar