📝 **Question:** You want callers to pass anything with a `.read() -> str` method into your function, without forcing inheritance. Right typing tool?
📋 Pick the right answer.
💡 **Hint:** Re-read the theory above if unsure.
📝 **Question:** You want callers to pass anything with a `.read() -> str` method into your function, without forcing inheritance. Right typing tool?
📋 Pick the right answer.
💡 **Hint:** Re-read the theory above if unsure.
📣 Help someone learn PythonShare this lesson with a friend — the first 15 are free, no signup.Tweet