"Simon Mullis" <[EMAIL PROTECTED]> writes:

> There is no equivalent in Python (as far as I know, and I'm only in
> my second week of Python so I'm more than likely incorrect!).

Python uses strings for that purpose, which works well due to their
immutability.  Python automatically interns strings used in source
code that look like identifiers, so memory is saved.

An even closer equivalent of symbols are interned strings (see the
"intern" built-in), but they are not as nice to work with as "real"
symbols.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to