Update core.py

Removed unrelated comment.