Loading ...
Sorry, an error occurred while loading the content.

Re: patch: python buffer number

Expand Messages
  • Michal Vitecek
    hello Bram, ... i ve read the documentation for Py_BuildValue() and both ways are supported, but it s probably better to use the version without comma to
    Message 1 of 3 , Oct 2, 2002
    • 0 Attachment
      hello Bram,

      Bram Moolenaar wrote:
      >Comparing your patch to other places where Py_BuildValue() is used:
      >
      >> - return Py_BuildValue("[s,s]", "name", "number");
      >
      >Shouldn't that be:
      >
      > - return Py_BuildValue("[ss]", "name", "number");
      >
      >(no comma)

      i've read the documentation for Py_BuildValue() and both ways are
      supported, but it's probably better to use the version without comma to
      correspond with other parts of the code.

      --
      fuf (fuf@...)
    Your message has been successfully submitted and would be delivered to recipients shortly.