parameters: (self)
return_statement: return width, height
docstring: Return the width and height of the turtle window.
docstring_summary: Return the width and height of the turtle window.
docstring_tokens: Return the width and height of the turtle window .
function: def _window_size(self):
          """ Return the width and height of the turtle window.
          """
          width = self.cv.winfo_width()
          if width <= 1:  # the window isn't managed by a geometry manager
              width = self.cv['width']
          height = self.cv.winfo_height()
          if height <= 1: # the window isn't managed by a geometry manager
              height = self.cv['height']
          return width, height
function_tokens: def _window_size ( self ) : width = self . cv . winfo_width ( ) if width <= 1 : # the window isn't managed by a geometry manager width = self . cv [ 'width' ] height = self . cv . winfo_height ( ) if height <= 1 : # the window isn't managed by a geometry manager height = self . cv [ 'height' ] return width , height