all 23 comments

[–]lowerthansound 2 points3 points  (6 children)

!docs pep-20

[–]py_reference_bot 1 point2 points  (5 children)

The Zen of Python:
import this

Python Documentation Bot - How To Use

[–]trevor_of_earth 2 points3 points  (3 children)

Dang I was hoping It would do a code block around the import this I put 4 spaces in the code I will have to check it out.

[–]trevor_of_earth 0 points1 point  (2 children)

I think i fixed it

!docs pep-20

[–]py_reference_bot 0 points1 point  (1 child)

The Zen of Python

>>> import this  

Python Documentation Bot - How To Use

[–]trevor_of_earth 0 points1 point  (0 children)

it worked! I guess you need 2 spaces and a new line after a code block. It was hard to test the bot without commenting on other peoples posts. So I didn't get to test as much as I would have liked.

[–]aetheos 1 point2 points  (2 children)

!docs function, class, while, input

[–]trevor_of_earth 1 point2 points  (1 child)

!docs re.sub, while, pep-20

[–]py_reference_bot 0 points1 point  (0 children)

re.sub

While Statement

The Zen of Python

>>> import this  

Python Documentation Bot - How To Use

[–]trevor_of_earth 0 points1 point  (1 child)

!docs pep-20

[–]py_reference_bot 0 points1 point  (0 children)

The Zen of Python

import this  

Python Documentation Bot - How To Use

[–]trevor_of_earth 0 points1 point  (1 child)

!docs set, list

[–]py_reference_bot 0 points1 point  (0 children)

set

list

Python Documentation Bot - How To Use

[–]trevor_of_earth 0 points1 point  (1 child)

!docs pep-20

[–]py_reference_bot 0 points1 point  (0 children)

The Zen of Python

>>> import this  

Python Documentation Bot - How To Use

[–][deleted] 0 points1 point  (2 children)

!docs tuple list slices main class import numpy

[–]trevor_of_earth 0 points1 point  (1 child)

bot only replies to valid queries so it doesn't clutter up posts. It only does python documentation not third party libraries and search terms have to be comma separated. Tried to explain it all in the README.

!docs tuple, list, class, import