35
submitted 1 year ago* (last edited 1 year ago) by nikaro@jlai.lu to c/python@programming.dev

This is like Interface in Go (or Java, i don't speak Java but the article say so).

you are viewing a single comment's thread
view the rest of the comments
[-] AlgoMammoth@programming.dev 6 points 1 year ago

Oh nice, I did not know about the Protocol class. It seems handy when I have to deal with untyped 3rd party modules.

this post was submitted on 15 Sep 2023
35 points (97.3% liked)

Python

6356 readers
1 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS