Package Bio :: Package EUtils :: Module Datatypes :: Class Expression
[show private | hide private]
[frames | no frames]

Class Expression

Known Subclasses:
BinaryOp, Term

Base class for the Expression given in the eSearch output

NCBI does some processing on the request. They return the translated expression as part of the search results. To get the expression as an Entrez string, use str(expression).

iter(expression) traverses the expression tree in postfix order.
Method Summary
  __and__(self, other)
intersection of two expressions
  __iter__(self)
Traverse the tree in postfix order
  __or__(self, other)
union of two expressions

Method Details

__and__(self, other)
(And operator)

intersection of two expressions

__iter__(self)

Traverse the tree in postfix order

__or__(self, other)
(Or operator)

union of two expressions

Generated by Epydoc 2.1 on Wed Jan 31 09:59:43 2007 http://epydoc.sf.net