From 71d14a849777e1470fa1c3b574b4722eb2763ec1 Mon Sep 17 00:00:00 2001 From: Harmon Date: Tue, 30 Jul 2019 19:59:20 -0500 Subject: [PATCH] Fix section title styles in Cursor tutorial documentation --- docs/cursor_tutorial.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/cursor_tutorial.rst b/docs/cursor_tutorial.rst index ea5b452..9aef25e 100644 --- a/docs/cursor_tutorial.rst +++ b/docs/cursor_tutorial.rst @@ -17,7 +17,7 @@ just to manage the pagination loop. To help make pagination easier and require less code, Tweepy has the Cursor object. Old way vs Cursor way ---------------------- +===================== First let's demonstrate iterating the statuses in the authenticated user's timeline. Here is how we would do it the "old way" before the @@ -48,7 +48,7 @@ us behind the scenes, so our code can now focus entirely on processing the results. Passing parameters into the API method --------------------------------------- +====================================== What if you need to pass in parameters to the API method? @@ -66,7 +66,7 @@ Now Cursor will pass the parameter into the method for us whenever it makes a request. Items or Pages --------------- +============== So far we have just demonstrated pagination iterating per item. What if instead you want to process per page of results? You @@ -78,7 +78,7 @@ would use the pages() method:: Limits ------- +====== What if you only want n items or pages returned? You pass into the items() or pages() methods the limit you want to impose. -- 2.25.1