On 03/26/2014 03:48 AM, Antoine Pitrou wrote:
On Tue, 25 Mar 2014 18:43:30 -0700
Ethan Furman <[email protected]> wrote:
%s is a string.

%U is unicode?

What is the context?

A patch I'm adapting has these lines:

  static PyObject*
  module_getattr(PyObject *m, PyObject *name)
  {
      char *mod_name_str;
      ...
      PyErr_Format(PyExc_AttributeError,
                  "module '%s' has no attribute '%U'", mod_name_str, name);

So it looks like %s is referring to a simple string, and %U is referring to a 
PyObject, but I was hoping for verification.

--
~Ethan~
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to