Python 3.9 is now generally available.


A geographical point, specified by floating-point latitude and longitude

Inherits From: expected_type

coordinates. Often used to integrate with mapping sites like Google Maps.

This is the georss:point element. In XML output, the coordinates are provided as the lat and lon attributes. See:

Serializes to <lat>,<lon>. Raises BadValueError if it's passed an invalid serialized string, or if lat and lon are not valid floating points in the ranges [-90, 90] and [-180, 180], respectively.



View source


View source

Return self==value.


View source

Return self>=value.


View source

Return self>value.


View source

Return self<=value.


View source

Return self<value.


View source

Return self!=value.

lat None
lon None