FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

do not sort · vindex10/vim-python-docstring@60f58e3 · GitHub

Commit 60f58e3

Browse files
committed
do not sort
1 parent a80f253 commit 60f58e3

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎python/pydocstring.py‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,7 @@ def _process_tree(self, tree):
180180
v = MethodVisitor()
181181
v.visit(tree)
182182
args = list(v.arguments)
183-
args.sort()
184183
raises = list(v.raises)
185-
raises.sort()
186184
return args, v.returns, v.yields, raises
187185

188186
# TODO: set cursor on appropriate position to fill the docstring
@@ -216,7 +214,6 @@ def _process_tree(self, tree):
216214
v = ClassVisitor(x.instance_name)
217215
v.visit(tree)
218216
att = list(v.attributes)
219-
att.sort()
220217
return att
221218

222219
def write_docstring(self):

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL