int
, long
, or
float
. A valid coordinate sequence is a non-empty sequence of
either
(1, 221L, 3, 4, 5.85, -3)
: A sequence of three coordinates
[(1,221L),(3,4),[5.12,6])
: A sequence of three coordinates
(1,5)
: A sequence of one coordinate
[(1,5)]
: A sequence of one coordinate
[[1,5]]
: A sequence of one coordinate
Examples of invalid coordinate sequences:
Invalid code, do not use!
[]
: An empty sequence
(1,2,3)
: Odd number of elements in a flat sequence
[(1,2),(3,4),None]
: Contains an invalid element
([1,2],3,4)
: Mixing the flat and nested form is not allowed
See About this document... for information on suggesting changes.