Pyspark2 - How to retain the content of help() for any api on the console

How can i retain the content displayed with help() function on the console even after returning to pyspark prompt

Above command displays the content for api, when i use ‘q’ then command prompt returns to pyspark where we see the prompt as >>> but this would come out from help and i don’t see the content displayed earlier.

However in the videos i have seen returning to pyspark command line without losing the content from help() requested for any api. May i know the Key combination to do this.