Back to index

enigmail  1.4.3
Public Member Functions
Expression.Context Class Reference

List of all members.

Public Member Functions

def __getitem__

Detailed Description

This class holds variable values by subclassing dict, and while it
truthfully reports True and False on

name in context

it returns the variable name itself on

context["name"]

to reflect the ambiguity between string literals and preprocessor
variables.

Definition at line 192 of file Expression.py.


Member Function Documentation

def Expression.Context.__getitem__ (   self,
  key 
)

Definition at line 206 of file Expression.py.

00206 
00207   def __getitem__(self, key):
00208     if key in self:
00209       return super(self.__class__, self).__getitem__(key)
00210     return key

The documentation for this class was generated from the following file: