docs: def get_symbol_size(version, scale=1, border=None):
      """\
      Returns the symbol size (width x height) with the provided border and
      scaling factor.
  
      :param int version: A version constant.
      :param scale: Indicates the size of a single module (default: 1).
              The size of a module depends on the used output format; i.e.
              in a PNG context, a scaling factor of 2 indicates that a module
              has a size of 2 x 2 pixel. Some outputs (i.e. SVG) accept
              floating point values.
      :type scale: int or float
      :param int border: The border size or ``None`` to specify the
              default quiet zone (4 for QR Codes, 2 for Micro QR Codes).
      :rtype: tuple (width, height)
      """
      if border is None:
          border = get_default_border_size(version)
                                                 # M4 = 0, M3 = -1 ...
      dim = version * 4 + 17 if version > 0 else (version + 4) * 2 + 9
      dim += 2 * border
      dim *= scale
      return dim, dim