Revert "Fix crash when using ``enumerate`` with ``start`` and a class attribute (#7824)" (#7855)

This reverts commit 86b8c649061f49c7d121843675ceefe6ff3a8113.
3 files changed