diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-05 04:32:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-05 04:32:28 +0300 |
commit | aec5a36c12a3ec1d068adb8270017e509087dff6 (patch) | |
tree | dcc0408cf538f1fb39a41dd84c775342863b8a32 /sun_position | |
parent | 353492b181e08663b8cd3bc5733920b6fcdbcbe4 (diff) |
Cleanup: tabs -> spaces
Diffstat (limited to 'sun_position')
-rw-r--r-- | sun_position/geo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sun_position/geo.py b/sun_position/geo.py index 6d49f2ad..59c27e39 100644 --- a/sun_position/geo.py +++ b/sun_position/geo.py @@ -36,7 +36,7 @@ class Parser: def add(self, name, pattern, virtual=False): """ Adds a new named pattern (regular expression) that can reference previously added patterns by %(pattern_name)s. - Virtual patterns can be used to make expressions more compact but don't show up in the parse tree. """ + Virtual patterns can be used to make expressions more compact but don't show up in the parse tree. """ self.raw_patterns[name] = "(?:" + pattern + ")" self.virtual[name] = virtual @@ -169,7 +169,7 @@ def get_coordinate(b): def parse_position(s): """ Takes a (utf8-encoded) string describing a position and returns a tuple of floats for latitude and longitude in degrees. - Tries to be as tolerant as possible with input. Returns None if parsing doesn't succeed. """ + Tries to be as tolerant as possible with input. Returns None if parsing doesn't succeed. """ parse_tree = position_parser.parse("position", s) if parse_tree == None: return None |