Skip to content

ALL-CLAS0003 · examples

These examples come directly from ALL-CLAS0003. Read their source.

A class declaring open, read, close, __init__, __repr__, and _reset returns 3, since the two dunders are protocol names and _reset is not public. The same three methods split across two classes in one module return 2 and 1, and the module measures 2.