Closed scop closed 7 years ago
Hey @scop, thanks for the PR. This isn't an area I'm too familiar with, and I know there were some previous issues around compatibility between python2 and python3. Do you know if this syntax is valid for python2 also?
Yes, it is safe to use in both Python 2 and 3.
I removed my earlier comments as I was mistaken - this change looks OK to me, although I'd probably opt for "\\&"
rather than r"\&"
- either works.
Hi @scop, please could you update the PR as per @DavidAntliff's comments above? Many thanks.
@boyvinall done.
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior