~ubuntu-branches/ubuntu/trusty/python-axiom/trusty

« back to all changes in this revision

Viewing changes to axiom/queryutil.py

  • Committer: Bazaar Package Importer
  • Author(s): Debian Python Modules Team, Sandro Tosi, Vincent Bernat
  • Date: 2010-01-13 20:38:50 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100113203850-v552yecly7l65dtd
Tags: 0.6.0-1
[ Sandro Tosi ]
* debian/rules
  - don't FTBFS when removing not-existing dirs; thanks to Lucas Nussbaum for
    the report; Closes: #560565

[ Vincent Bernat ]
* New upstream release.
* debian/control
  - don't use obsolete "<" for Conflicts field; use "<<" instead. Closes: #557926.
  - bump Standards-Version

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    arguments.
31
31
 
32
32
    For a database with Items of class O which represent values in this
33
 
    configuration:
34
 
 
35
 
            X                   Y
36
 
           (a)                 (b)
37
 
            |-------------------|
38
 
      (c)      (d)
39
 
       |--------|          (e)      (f)
40
 
                            |--------|
41
 
 
42
 
   (g) (h)
43
 
    |---|                            (i)    (j)
44
 
                                      |------|
45
 
 
46
 
   (k)                                   (l)
47
 
    |-------------------------------------|
48
 
 
49
 
           (a)                           (l)
50
 
            |-----------------------------|
51
 
      (c)                      (b)
52
 
       |------------------------|
53
 
 
54
 
      (c)  (a)
55
 
       |----|
56
 
                               (b)       (l)
57
 
                                |---------|
58
 
 
59
 
    The query:
 
33
    configuration::
 
34
 
 
35
              X                   Y
 
36
             (a)                 (b)
 
37
              |-------------------|
 
38
        (c)      (d)
 
39
         |--------|          (e)      (f)
 
40
                              |--------|
 
41
 
 
42
     (g) (h)
 
43
      |---|                            (i)    (j)
 
44
                                        |------|
 
45
 
 
46
     (k)                                   (l)
 
47
      |-------------------------------------|
 
48
 
 
49
             (a)                           (l)
 
50
              |-----------------------------|
 
51
        (c)                      (b)
 
52
         |------------------------|
 
53
 
 
54
        (c)  (a)
 
55
         |----|
 
56
                                 (b)       (l)
 
57
                                  |---------|
 
58
 
 
59
    The query::
 
60
 
60
61
        myStore.query(
61
62
            O,
62
63
            findOverlapping(O.X, O.Y,
74
75
    N.startAttribute must be less than N.endAttribute.
75
76
 
76
77
    startValue must be less than endValue.
77
 
 
78
78
    """
79
79
    assert startValue <= endValue
80
80