At the start of "Good-bye, Teacher... " Fred Keller quotes one version of that old doggerel:
Good-bye scholars, good-bye school;
Good-bye teacher, darned old fool!
I learned it as:
Good-bye pencils, good-bye books;
Good-bye teachers' dirty looks.
It doesn't matter; the point's the same. We were glad to get rid of teachers, for the summer, at least.