Skip to content

Commit

Permalink
fix : doctest added for email_at function
Browse files Browse the repository at this point in the history
  • Loading branch information
sepandhaghighi committed Jan 29, 2017
1 parent 37ba760 commit a34a934
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/qpage.py
Expand Up @@ -22,6 +22,9 @@ def email_at(text,USE_RE=False,replace_char=" at "):
:type USE_RE:bool
:type replace_char:str
:return: replaced string
>>> email_at("example@yahoo.com")
'example at yahoo.com'
>>>
'''
if USE_RE==False:
return text.replace("@",replace_char)
Expand Down

0 comments on commit a34a934

Please sign in to comment.