"Stef Mientki" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
|     port_D = IO_port('D')
|
| Now I want to assign a more logical name to that port,
| (In JAL: "var byte My_New_Name IS port_D")
|
| Is that possible ?
|
| I think the answer is "no",
| because the object itself is not mutable.
| Am I right ?

no

| But I read: "An object can have any number of names, or no name at all."
| So am I wrong ?

yes
Believe the docs.
Use the interactive interpreter to try things for yourself:
port_nice_name = port_awkward_name
!

Terry Jan Reedy



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to