Mercurial > vim
comparison runtime/autoload/pythoncomplete.vim @ 25773:11b656e74444
Update runtime files
Commit: https://github.com/vim/vim/commit/6c391a74fe90190796ca0b0c010112948a6e75d7
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 9 21:55:11 2021 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 09 Sep 2021 22:00:10 +0200 |
parents | 17c4178f26ea |
children |
comparison
equal
deleted
inserted
replaced
25772:55753c17b73d | 25773:11b656e74444 |
---|---|
189 except: | 189 except: |
190 dbg("arg completion: %s: %s" % (sys.exc_info()[0],sys.exc_info()[1])) | 190 dbg("arg completion: %s: %s" % (sys.exc_info()[0],sys.exc_info()[1])) |
191 pass | 191 pass |
192 if len(arg_text) == 0: | 192 if len(arg_text) == 0: |
193 # The doc string sometimes contains the function signature | 193 # The doc string sometimes contains the function signature |
194 # this works for alot of C modules that are part of the | 194 # this works for a lot of C modules that are part of the |
195 # standard library | 195 # standard library |
196 doc = func_obj.__doc__ | 196 doc = func_obj.__doc__ |
197 if doc: | 197 if doc: |
198 doc = doc.lstrip() | 198 doc = doc.lstrip() |
199 pos = doc.find('\n') | 199 pos = doc.find('\n') |