Edit: An interesting SO answer discussing some potential uses-
By definition pass doesn’t really do anything. The only time you’d use it is when you have a code block required but you don’t want to include any code-
# without pass (or anything else) we get syntax errors
class: # <-- on its own, this is a syntax error
Actual use cases are more limited as you’d almost include code behind each of these statements, perhaps a web search will net you a few best practices. The only one that I recall offhand is creating unique exceptions without altering the behaviour of the base class, not particularly useful but there you go .
Is there a specific lesson that caused trouble, is there a link?