Kaynağa Gözat

Fix docstring in bitshift/parser/python.py

tags/v1.0^2
Benjamin Attal 10 yıl önce
ebeveyn
işleme
d485b87f21
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +2
    -2
      bitshift/parser/python.py

+ 2
- 2
bitshift/parser/python.py Dosyayı Görüntüle

@@ -16,11 +16,11 @@ class PyTreeCutter(ast.NodeVisitor):

def start_n_end(self, big_node):
"""
Helper function to get the start and end lines of a code node.
Helper function to get the start and end lines of an AST node.

:param big_node: The node.

:type big_node: ast.FunctionDef, ast.ClassDef, ast.Module
:type big_node: ast.FunctionDef or ast.ClassDef or ast.Module
"""

start_line = big_node.lineno


Yükleniyor…
İptal
Kaydet