Change some format usage to use %-formatting.

Minor speed increase when we're not doing excessive attribute
access or any type of formatting.
This commit is contained in:
Rapptz committed 2017-05-04 06:04:55 -04:00
1 parent 86bfcdd129
commit d24c2a09b6
5 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -210,7 +210,7 @@ class Client:
pass
def dispatch(self, event, *args, **kwargs):
log.debug('Dispatching event {}'.format(event))
log.debug('Dispatching event %s', event)
method = 'on_' + event
handler = 'handle_' + event