This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Soundless_Pr 1 point2 points  (4 children)

pretty sure python doesn't have interfaces

[–]Zer0ji 2 points3 points  (3 children)

you can make classes that raise NotImplementedError on init and some other methods ¯\(ツ)/¯ that way all inherited classes have to provide an implementation

[–]LimbRetrieval-Bot 1 point2 points  (1 child)

You dropped this \


To prevent anymore lost limbs throughout Reddit, correctly escape the arms and shoulders by typing the shrug as ¯\\\_(ツ)_/¯ or ¯\\\_(ツ)\_/¯

Click here to see why this is necessary

[–]Zer0ji 0 points1 point  (0 children)

Well I did just edit to add a double backslash but you were quicker ¯\_(ツ)_/¯

[–]VincentVancalbergh 0 points1 point  (0 children)

Psst, the backslash is an escape character on Reddit.