From 0aca01f5f2b4f5413c9fdf36cf70f112426e1587 Mon Sep 17 00:00:00 2001 From: Mark Florisson Date: Wed, 3 Nov 2010 16:41:41 +0100 Subject: [PATCH] fix completion error on 'cy break' --- Cython/Debugger/libcython.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Cython/Debugger/libcython.py b/Cython/Debugger/libcython.py index 634aad57..4d3931b3 100644 --- a/Cython/Debugger/libcython.py +++ b/Cython/Debugger/libcython.py @@ -752,6 +752,7 @@ class CyBreak(CythonCommand): words = text.strip().split() if words and '.' in words[-1]: + lastword = words[-1] compl = [n for n in self.cy.functions_by_qualified_name if n.startswith(lastword)] else: -- 2.26.2