We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 939e6ba commit 317bec0Copy full SHA for 317bec0
dictcc.py
@@ -34,7 +34,7 @@ def parse_single_tag(tag):
34
all_dfn = ", ".join([dfn_tag.text for dfn_tag in tag.find_all('dfn')])
35
str_tag = ' '.join([str_tag, '(' + all_dfn + ')'])
36
37
- return '\n '.join(textwrap.wrap(str_tag, (int(columns) - 8) / 2))
+ return '\n '.join(textwrap.wrap(str_tag, (int(columns) - 8) // 2))
38
39
def parse_response(html):
40
soup = BeautifulSoup(html, 'html.parser')
0 commit comments