Fix typo in stamped decorator.

This PR fixes a typo that was found while fixing the file for `flake8`, see gh-3040. In that PR the line was commented out to pass `flake8`; here it is restored and corrected. This may have an effect on the functionality of `tables.py`

/cc @manics