aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/services.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/services.rst b/docs/services.rst
index e686a6e..71fa690 100644
--- a/docs/services.rst
+++ b/docs/services.rst
@@ -53,6 +53,16 @@ attributes or all of them.
.. autoclass:: pygithub3.services.base.MimeTypeMixin
:members:
+**Fast example**::
+
+ from pygithub3 import Github
+
+ gh = Github()
+
+ gh.gists.comments.set_html()
+ comment = gh.gists.comments.list(1).all()[0]
+ print comment.body, comment.body_text, comment.body_html
+
List of services
-------------------