Bug with first lines of code in documentation?
See original GitHub issueI installed disqus-python then tried the basic example with my secret key and public key:
pip install disqus-python
from disqusapi import DisqusAPI
disqus = DisqusAPI(secret_key, public_key)
However now when I do
disqus.get('trends.listThreads')
I get the error:
TypeError: __call__() takes exactly 1 argument (2 given)
Issue Analytics
- State:
- Created 9 years ago
- Reactions:1
- Comments:9
Top Results From Across the Web
Documentation As a Bug-Finding Tool - Slashdot
Writing documentation first means that you have to do the thinking before the coding, and that eliminates a whole load of problems.
Read more >What is a bug (computer bug)? - TechTarget
In computer technology, a bug is a coding error in a computer program. ... a well-controlled process results in fewer bugs per thousands...
Read more >The First Rule of Programming: It's Always Your Fault
It is possible that a bug exists in the OS, the compiler, or a third-party product-- but this should not be your first...
Read more >A Few Billion Lines of Code Later: Using Static Analysis to ...
Assuming a reasonable tool, the first order bound on bug counts is just how much code can be shoved through the tool. Ten...
Read more >Software bug - Wikipedia
Programs known as debuggers help programmers locate bugs by executing code line by line, watching variable values, and other features to observe program ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@loneboat
I had luck by following the directions here
https://github.com/disqus/disqus-python/issues/22
What you need to do is do a pip install of this
+1
Still getting this error as of Jan 2016