From 7a40e3fc938bc88d0d2da12b530e9f53ae3d4469 Mon Sep 17 00:00:00 2001 From: Mahmoud Hashemi Date: Thu, 21 Jan 2016 17:41:12 -0800 Subject: [PATCH] python 3 fix for _print_ll --- boltons/cacheutils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boltons/cacheutils.py b/boltons/cacheutils.py index 1b525bd..2ead7b8 100644 --- a/boltons/cacheutils.py +++ b/boltons/cacheutils.py @@ -134,15 +134,15 @@ class LRU(dict): self._link_lookup = {} self._anchor = anchor - def print_ll(self): + def _print_ll(self): link = self._anchor - print '***' + print('***') while True: print(link[KEY], link[VALUE]) link = link[NEXT] if link is self._anchor: break - print '***' + print('***') return def _get_link_and_move_to_front_of_ll(self, key):