Update brackets.py