Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
[bugfix] closes #34, closes #38
Browse files Browse the repository at this point in the history
  • Loading branch information
tasdikrahman committed May 14, 2017
1 parent 1736704 commit d074190
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 10 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,11 @@ Changelog

- Added support for specifying response format
- Updated ``Vocabulary.pronunciation``, ``Vocabulary.antonym```, ```Vocabulary.part_of_speech``` to return a list of objects with apprioprate index

1.0.3
~~~~~

- Fixed `setup.py` import issue
- API changes to importing the module
```from vocabulary.vocabulary import Vocabulary as vb``` instead of ```from vocabulary import Vocabulary as vb```

2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Let's say you want to find out the synonyms for the word ``car``.

.. code:: python
>>> from vocabulary import Vocabulary as vb
>>> from vocabulary.vocabulary import Vocabulary as vb
>>> vb.synonym("car")
'[{
"seq": 0,
Expand Down
2 changes: 1 addition & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A Simple demonstration of the module
.. code-block:: python
## Importing the module
>>> from vocabulary import Vocabulary as vb
>>> from vocabulary.vocabulary import Vocabulary as vb
## Extracting "Meaning"
>>> vb.meaning("hillbilly")
Expand Down
2 changes: 0 additions & 2 deletions vocabulary/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"""
Imports class 'Vocabulary'
"""

from .vocabulary import Vocabulary
4 changes: 2 additions & 2 deletions vocabulary/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-

VERSION = '1.0.2'
RELEASE = '8'
VERSION = '1.0.3'
RELEASE = '9'
8 changes: 4 additions & 4 deletions vocabulary/vocabulary.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@

from .version import VERSION, RELEASE

__version__ = VERSION
__release__ = RELEASE
__author__ = "Tasdik Rahman"


@contextlib.contextmanager
def try_URL(message='Connection Lost'):
Expand All @@ -56,6 +52,10 @@ class Vocabulary(object):
| | pronunciation() |
| | translate() |
"""

__version__ = VERSION
__release__ = RELEASE
__author__ = "Tasdik Rahman"

@staticmethod
def __get_api_link(api):
Expand Down

1 comment on commit d074190

@kshitij10496
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is cool !

Please sign in to comment.