GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing docs.python.org — 5.3.1 Attribute references

Previous Page Up One Level Next Page Python Reference Manual Contents Index
Previous: 5.3 Primaries Up: 5.3 Primaries Next: 5.3.2 Subscriptions


5.3.1 Attribute references

An attribute reference is a primary followed by a period and a name:

attributeref:   primary "." identifier

The primary must evaluate to an object of a type that supports attribute references, e.g., a module or a list. This object is then asked to produce the attribute whose name is the identifier. If this attribute is not available, the exception AttributeError is raised. Otherwise, the type and value of the object produced is determined by the object. Multiple evaluations of the same attribute reference may yield different objects.


Previous Page Up One Level Next Page Python Reference Manual Contents Index
Previous: 5.3 Primaries Up: 5.3 Primaries Next: 5.3.2 Subscriptions

See About this document... for information on suggesting changes.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.