From cffe958e4ca3314618cd534b98df16c649cf3aa8 Mon Sep 17 00:00:00 2001 From: Jonathan Frederic Date: Tue, 29 Jul 2014 15:49:58 -0700 Subject: [PATCH] s/this/self --- IPython/utils/eventful.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/IPython/utils/eventful.py b/IPython/utils/eventful.py index 258ca51f9..d02be7b1b 100644 --- a/IPython/utils/eventful.py +++ b/IPython/utils/eventful.py @@ -157,11 +157,11 @@ class EventfulList(list): del_callback: [callback = None] reverse_callback: [callback = None] sort_callback: [callback = None]""" - this.on_insert(insert_callback) - this.on_set(set_callback) - this.on_del(del_callback) - this.on_reverse(reverse_callback) - this.on_sort(sort_callback) + self.on_insert(insert_callback) + self.on_set(set_callback) + self.on_del(del_callback) + self.on_reverse(reverse_callback) + self.on_sort(sort_callback) def on_insert(self, callback): """Register a callback for when an item is inserted into the list.