plugins/Math: Quote some example strings so the STX version is formatted better.

This commit is contained in:
James Vega 2005-07-25 22:15:14 +00:00
parent 9d99590431
commit 099231df05
1 changed files with 2 additions and 2 deletions

View File

@ -154,8 +154,8 @@ class Math(callbacks.Plugin):
Returns the value of the evaluated <math expression>. The syntax is
Python syntax; the type of arithmetic is floating point. Floating
point arithmetic is used in order to prevent a user from being able to
crash to the bot with something like 10**10**10**10. One consequence
is that large values such as 10**24 might not be exact.
crash to the bot with something like '10**10**10**10'. One consequence
is that large values such as '10**24' might not be exact.
"""
if text != text.translate(utils.str.chars, '_[]'):
irc.error('There\'s really no reason why you should have '