Skip to content

Commit

Permalink
Correct a README example.
Browse files Browse the repository at this point in the history
  • Loading branch information
dangle committed Nov 12, 2017
1 parent ce8f5a7 commit 783e5d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ bounds and contains an optional attribute.
hobby: str = None
Person('Jimothy', 23) # Okay, hobby will be None
Person('Jimothy', 230) # Raises ValueError
Person('Jimothy', 230) # Raises TypeError
Person('Jimothy', 23, 'Figure Skating') # Okay, and sets hobby
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
author_email='dangle@contains.io',
url='https://github.com/contains-io/typet',
keywords=['typing', 'schema' 'validation', 'types', 'annotation',
'pep484'],
'PEP 484', 'PEP 526'],
license='MIT',
packages=find_packages(exclude=['tests', 'docs']),
install_requires=[
Expand Down

0 comments on commit 783e5d8

Please sign in to comment.