Skip to content

Commit c9e9465

Browse files
committed
minor fixes: move to 2.0.1
1 parent 139e700 commit c9e9465

File tree

4 files changed

+4
-227
lines changed

4 files changed

+4
-227
lines changed

PyDictionary/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ def antonym(term, formatted=False):
105105
spans = section.findAll('a')
106106
antonyms = [span.text.strip() for span in spans]
107107
if formatted:
108-
return {word: antonyms}
108+
return {term: antonyms}
109109
return antonyms
110110
except:
111-
print("{0} has no Antonyms in the API".format(word))
111+
print("{0} has no Antonyms in the API".format(term))
112112

113113
@staticmethod
114114
def meaning(term, disable_errors=False):

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,5 @@ Similarly Synonyms and Antonyms can also be printed onto the screen.
101101

102102
### About
103103

104+
Current Version: 2.0.1
104105
Created By Pradipta Bora 2020.

readme-pypi.rst

Lines changed: 0 additions & 223 deletions
This file was deleted.

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="PyDictionary", # Replace with your own username
8-
version="2.0.0",
8+
version="2.0.1",
99
author="geekpradd",
1010
author_email="[email protected]",
1111
description="A real dictionary module for Python",
@@ -17,7 +17,6 @@
1717
"License :: OSI Approved :: MIT License",
1818
"Operating System :: OS Independent",
1919
],
20-
python_requires='>=2.6',
2120
install_requires=[
2221
'bs4',
2322
'click',

0 commit comments

Comments
 (0)