Skip to content

Commit

Permalink
fix two old refs
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkowl committed Aug 11, 2015
1 parent 2383925 commit 9b6951a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.rst
Expand Up @@ -49,7 +49,7 @@ If it's necessary to look up constants from a string (e.g. based on user input o
>>> METHOD.lookupByName('__doc__')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "twisted/python/constants.py", line 145, in lookupByName
File "constantly/_constants.py", line 145, in lookupByName
raise ValueError(name)
ValueError: __doc__
Expand Down Expand Up @@ -174,7 +174,7 @@ Constants on a ``Values`` subclass can also be looked up by value:
>>> STATUS.lookupByValue('500')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "twisted/python/constants.py", line 244, in lookupByValue
File "constantly/_constants.py", line 244, in lookupByValue
raise ValueError(value)
ValueError: 500
Expand Down

0 comments on commit 9b6951a

Please sign in to comment.