summaryrefslogtreecommitdiffstats
path: root/runtime/autoload/python3complete.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/autoload/python3complete.vim')
-rw-r--r--runtime/autoload/python3complete.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/autoload/python3complete.vim b/runtime/autoload/python3complete.vim
index 0635ef8249..ea0a331369 100644
--- a/runtime/autoload/python3complete.vim
+++ b/runtime/autoload/python3complete.vim
@@ -2,7 +2,7 @@
" Maintainer: <vacancy>
" Previous Maintainer: Aaron Griffin <aaronmgriffin@gmail.com>
" Version: 0.9
-" Last Updated: 2020 Oct 9
+" Last Updated: 2022 Mar 30
"
" Roland Puntaier: this file contains adaptations for python3 and is parallel to pythoncomplete.vim
"
@@ -91,6 +91,9 @@ endfunction
function! s:DefPython()
py3 << PYTHONEOF
+import warnings
+warnings.simplefilter(action='ignore', category=FutureWarning)
+
import sys, tokenize, io, types
from token import NAME, DEDENT, NEWLINE, STRING