File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ browser focusing on the comment **you** just created.
4242The following shows how you could use github3.py to fetch and display your
4343issues in your own style and in your webbrowser.
4444
45- .. include :: source/browser.py
46- :code : python
45+ .. literalinclude :: source/browser.py
46+ :language : python
4747
4848Or how to do the same by wrapping the lines in your terminal.
4949
50- .. include :: source/wrap_text.py
51- :code : python
50+ .. literalinclude :: source/wrap_text.py
51+ :language : python
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ Using Logging with github3.py
88The following example shows how to set up logging for github3.py. It is off by
99default in the library and will not pollute your logs.
1010
11- .. include :: source/logging_ex.py
12- :code : python
11+ .. literalinclude :: source/logging_ex.py
12+ :language : python
1313
1414One thing to note is that if you want more detailed information about what is
1515happening while the requests are sent, you can do the following:
Original file line number Diff line number Diff line change 11A Conversation With Octocat
22===========================
33
4- .. include :: source/octocat_say.py
5- :code : python
4+ .. literalinclude :: source/octocat_say.py
5+ :language : python
66
77What you should see
88
You can’t perform that action at this time.
0 commit comments