]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(python3complete): remove trailing white space
authorMao-Yining <mao.yining@outlook.com>
Sat, 7 Feb 2026 15:28:30 +0000 (15:28 +0000)
committerChristian Brabandt <cb@256bit.org>
Sat, 7 Feb 2026 15:30:19 +0000 (15:30 +0000)
related: #19354

Signed-off-by: Mao-Yining <mao.yining@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/autoload/python3complete.vim

index ea0a3313692ad571b86af8808f9897719c917d9a..3e54433f41ff15c1669400fcaaede944ada2c2da 100644 (file)
@@ -448,7 +448,7 @@ class PyParser:
     def _parseassignment(self):
         assign=''
         tokentype, token, indent = self.donext()
-        if tokentype == tokenize.STRING or token == 'str':  
+        if tokentype == tokenize.STRING or token == 'str':
             return '""'
         elif token == '(' or token == 'tuple':
             return '()'
@@ -556,7 +556,7 @@ class PyParser:
                     freshscope = True
                     dbg("new scope: class")
                     self.scope = self.scope.add(cls)
-                    
+
                 elif token == 'import':
                     imports = self._parseimportlist()
                     for mod, alias in imports:
@@ -578,7 +578,7 @@ class PyParser:
                 elif tokentype == STRING:
                     if freshscope: self.scope.doc(token)
                 elif tokentype == NAME:
-                    name,token = self._parsedotname(token) 
+                    name,token = self._parsedotname(token)
                     if token == '=':
                         stmt = self._parseassignment()
                         dbg("parseassignment: %s = %s" % (name, stmt))