[ Module Hierarchy
| Class Hierarchy ]
Class Hierarchy
- object:
The most base type
- exceptions.BaseException:
Common base class for all exceptions
- exceptions.Exception:
Common base class for all non-exit exceptions.
- exceptions.StandardError:
Base class for all standard Python exceptions that do not represent
interpreter exiting.
- exceptions.ImportError:
Import can't find module, or can't find name in module.
- exceptions.RuntimeError:
Unspecified run-time error.
- exceptions.ValueError:
Inappropriate argument value (of correct type).
- _CData:
XXX to be provided
- _ctypes.Structure:
Structure base class
- _ctypes._SimpleCData:
XXX to be provided
- pycocoa.runtime._ObjCBase:
(INTERNAL) Base class for
runtime.ObjC...
classes.
- pycocoa.bases._Type0:
(INTERNAL) The base Type, just property NS.
- pycocoa.colors.Color:
Base
Color
class wrapping NSColor
objects, intended specifically to avoid fatal exceptions
when accessing non-applicable NSColor
attributes.
- pycocoa.fonts.Font:
Python
Font
Type, wrapping ObjC NSFont
.
- pycocoa.dicts.FrozenDict:
Python immutable
dict
Type, wrapping an (immutable)
ObjC NSDictionary
.
- pycocoa.sets.FrozenSet:
Python
frozenset
Type, wrapping an immutable ObjC
NSSet
.
- pycocoa.geometry.Point:
Python Type, wrapping an ObjC
NSPoint_t
.
- pycocoa.geometry.Rect:
Python Type, wrapping an ObjC NSRect_t.
- pycocoa.screens.Screen:
Screen Python Type, wrapping ObjC NSRect_t.
- pycocoa.sets.Set:
Python
set
Type, wrapping an ObjC
NSMutableSet
.
- pycocoa.geometry.Size:
Python Type, wrapping an ObjC
NSSize_t
.
- pycocoa.strs.Str:
Python
str
Type, wrapping (immutable) ObjC
NSStr[ing]
.
- pycocoa.strs.StrAttd:
Python
str
Type, wrapping (immutable) ObjC
NSAttributedString
.
- pycocoa.tuples.Tuple:
Python
tuple
Type, wrapping an immutable ObjC
NSArray
.
- pycocoa.printers._PM_Type0:
(INTERNAL) Base type for ObjC
PM...
objects.
- pycocoa.bases._Type1:
(INTERNAL) Basic Type with properties app, delegate and NS.
- pycocoa.bases._Type2:
(INTERNAL) Basic Type with properties app, delegate, NS, tag and
title.
- basestring:
Type basestring cannot be instantiated; it is the base for str and
unicode.
- str:
str(object='') -> string
- dict:
dict() -> new empty dictionary
dict(mapping) -> new dictionary initialized from a mapping object's
(key, value) pairs
dict(iterable) -> new dictionary initialized as if via:
d = {}
for k, v in iterable:
d[k] = v
dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list.
- pycocoa.utils.Adict:
A
dict
with key and attribute access to the
items and callable to add items.
- pycocoa.utils.Cache2:
Two-level cache implemented by two
dict
s, a primary
level-1 dict
and a secondary level-2
dict
.
- frozenset:
frozenset() -> empty frozenset object frozenset(iterable) ->
frozenset object
- pycocoa.utils.module_property_RO:
Decorator for a
Read-Only
module property.
- set:
set() -> new empty set object set(iterable) -> new set object