More Python 3 ex15

In exercise 15 (Stacks and Queues) you use the same name for the variable top and a method top of the Stack class. Is this done on purpose to get people to discover a test implementation such as:
def test_top():
stack1 = Stack()
assert == “something”
assert == None
then, realizing this probably a bad idea, rename the variable freeing up its name for the method?
Or, am I doing something wrong?

Yes! That is a bug that is fixed in the git repository here:

I went with renaming the function from top to first.