count docstrings as line of code in Python : I've noticed that line of code starts from where the docstring ends.

But it gives problem in error tracing because it points to different line than where error invoking line is actually present.

Here is simple example to demonstrate that:

    #comments
    #comments
    #comments
    #comments
    #comments
    #comments
    def divide(a,b):
      a = int(a)
    #convert a to an integer
      b = int(b)
    #convert b to an integer
      res = a/b
    #calculate result  
      return res

    divide(2,0)


>Error



    ZeroDivisionError                         Traceback (most recent call last)
    <ipython-input-56-030e2eec799d> in <module>()
    ----> 1 divide(2,0)
    
    <ipython-input-55-9cd1ccec09c4> in divide(a, b)
          4   b = int(b)
          5 #convert b to an integer
    ----> 6   res = a/b
          7 #calculate result
          8   return res
    
    ZeroDivisionError: division by zero


error points to line no 6 whereas actual position is `12`

Is there any solution to it.