Skip to content

Commit 9ad2916

Browse files
authored
Merge pull request #17 from tirkarthi/fix-warnings
Fix deprecation warnings due to invalid escape sequences.
2 parents 926f964 + 848c1cd commit 9ad2916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

geocoder/uscensus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def address(self):
3333
@property
3434
def housenumber(self):
3535
if self.address:
36-
match = re.search('^\d+', self.address, re.UNICODE)
36+
match = re.search(r'^\d+', self.address, re.UNICODE)
3737
if match:
3838
return match.group(0)
3939

0 commit comments

Comments
 (0)