Pi -> pi, fixing what I'm going to claim is a typo.
This commit is contained in:
parent
c3270ef3df
commit
a45af7a0a7
@ -63,7 +63,7 @@ class Pi(Module):
|
||||
self.config.set(self.__class__.__name__, "count_inside", str(count_inside))
|
||||
self.config.set(self.__class__.__name__, "count", str(count))
|
||||
|
||||
return self.reply(connection, replypath, "({0:.10f}, {1:.10f}) is {2}within the circle. Pi is {5:.10f} ({3:d}/{4:d}).".format(x, y, "" if inside else "not ", count_inside, count, pi));
|
||||
return self.reply(connection, replypath, "({0:.10f}, {1:.10f}) is {2}within the circle. pi is {5:.10f} ({3:d}/{4:d}).".format(x, y, "" if inside else "not ", count_inside, count, pi));
|
||||
except NoOptionError, NoSectionError: pass
|
||||
|
||||
# vi:tabstop=4:expandtab:autoindent
|
||||
|
Loading…
Reference in New Issue
Block a user