Package Pyblio :: Package Format :: Module DSL :: Class _Join
[hide private]
[frames] | no frames]

Class _Join

source code

object --+    
         |    
      Glue --+
             |
            _Join

The join operator is used to join together multiple fragments of records:
      citation = join(middle, last)[part1, part2, ...]

part1, part2, ... are joined together by inserting 'middle' between them. If a part is missing, it is simply skipped. If no part is available at all, the join fails.

It is possible to specify a different separator between the last two parts.

Instance Methods [hide private]
 
__init__(self, middle, last)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__getitem__(self, children) source code
 
__call__(self, db, props={}) source code

Inherited from Glue: __add__, __or__, __radd__, __ror__

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, middle, last)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)