annotate src/testdir/pyxfile/py2_magic.py @ 30994:dfc507ccfaa5 v9.0.0832

patch 9.0.0832: deprecation warning causes build failure Commit: https://github.com/vim/vim/commit/5a5f17f9b3fa14c36a7d6c96ac55acaddb6247e1 Author: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Sat Nov 5 14:05:31 2022 +0000 patch 9.0.0832: deprecation warning causes build failure Problem: Deprecation warning causes build failure. Solution: Suppress deprecation warning. (closes https://github.com/vim/vim/issues/11503)
author Bram Moolenaar <Bram@vim.org>
date Sat, 05 Nov 2022 15:15:05 +0100
parents 7598ce51bf2a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10722
7598ce51bf2a patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 # requires python 2.x
7598ce51bf2a patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2
7598ce51bf2a patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3 import sys
7598ce51bf2a patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 print(sys.version)