[Python-bugs-list] [ python-Bugs-485446 ] tutorial: backticks, repr(), str()

noreply@sourceforge.net noreply@sourceforge.net
Sun, 25 Nov 2001 17:50:09 -0800


Bugs item #485446, was opened at 2001-11-25 17:50
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=485446&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: tutorial: backticks, repr(), str()

Initial Comment:
http://python.sourceforge.net/devel-docs/tut/node9.html:

> how do you convert values to strings? Luckily, Python
> has a way to convert any value to a string: pass it to
> the repr() function, or just write the value between 
> reverse quotes (``). Some examples:

a) str() should probably be mentioned
b) is it good to teach newbies to use backticks?
   i don't remember when i've last seen them in python
   code and it's easy to confuse them with single
   quotes.

  -- erno@iki.fi


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=485446&group_id=5470