Next / Previous / Contents / Shipman's homepage

10.3. DaySummary.lookupLoc(): Look up a location code

Given a DaySummary instance D, to look up a location code string s, use this method call:


If the code is defined, the method returns its definition as a Loc instance; see Section 11, “class Loc: Locality code definition”. If the code is undefined, it raises a KeyError exception.