summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexamples/basic_patching.py3
-rwxr-xr-xexamples/basic_sessions.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/examples/basic_patching.py b/examples/basic_patching.py
index def0ead..0e94b23 100755
--- a/examples/basic_patching.py
+++ b/examples/basic_patching.py
@@ -28,7 +28,8 @@ def main():
# Get some debugging info about the cache
print(requests_cache.get_cache())
- print('Cached URLS:', requests_cache.get_cache().urls)
+ print('Cached URLS:')
+ print('\n'.join(requests_cache.get_cache().urls))
# Uninstall to remove caching from all requests functions
requests_cache.uninstall_cache()
diff --git a/examples/basic_sessions.py b/examples/basic_sessions.py
index 42a6dd2..07e14bf 100755
--- a/examples/basic_sessions.py
+++ b/examples/basic_sessions.py
@@ -25,7 +25,8 @@ def main():
# Get some debugging info about the cache
print(session.cache)
- print('Cached URLS:', list(session.cache.urls))
+ print('Cached URLS:')
+ print('\n'.join(session.cache.urls))
if __name__ == "__main__":