Search found 1 match

by chastings
Sun Apr 28, 2019 5:16 pm
Forum: General Discussion and Questions
Topic: derived class from socket
Replies: 2
Views: 436

derived class from socket

It seems I can't derive from socket, and I can't figure out why. First, a simple inheritance example with my own classes in micropython as a sanity check: >>> class base: ... def foo(self): ... print( "foo" ) ... >>> class derived(base): ... pass ... >>> d=derived() >>> d <derived object at 3fff1c90...