original_docstring: Reposition the label to its element.
docstring: Reposition the label to its element.
docstring_tokens: Reposition the label to its element .
code: def _move_to_elem(self) -> None:
          """Reposition the label to its element."""
          if not self.elem.has_frame():
              # This sometimes happens for some reason...
              log.hints.debug("Frame for {!r} vanished!".format(self))
              self.hide()
              return
          no_js = config.cache['hints.find_implementation'] != 'javascript'
          rect = self.elem.rect_on_view(no_js=no_js)
          self.move(rect.x(), rect.y())
code_tokens: def _move_to_elem ( self ) -> None : if not self . elem . has_frame ( ) : log . hints . debug ( "Frame for {!r} vanished!" . format ( self ) ) self . hide ( ) return no_js = config . cache [ 'hints.find_implementation' ] != 'javascript' rect = self . elem . rect_on_view ( no_js = no_js ) self . move ( rect . x ( ) , rect . y ( ) )
short_docstring: Reposition the label to its element.
short_docstring_tokens: Reposition the label to its element .
comment: """Reposition the label to its element."""$SEP$# This sometimes happens for some reason...