Skip to content
Snippets Groups Projects
  1. Nov 22, 2018
    • Dan Michael O. Heggø's avatar
      Fix rvslots handling (#199) · b448e5a2
      Dan Michael O. Heggø authored
      Unverified
      b448e5a2
    • Dan Michael O. Heggø's avatar
      Docs: Fix indentation · 5efebfad
      Dan Michael O. Heggø authored
      Unverified
      5efebfad
    • cpettet's avatar
      Change invocation syntax to relative Site() examples · 7f59df33
      cpettet authored
      This is what is imported at the beginning of the examples.
      This could also be done by changing the import to 'import mwclient'
      rather than 'from mwclient import Site'.
      
      Neither seems more correct but I have tried to follow
      what seems most intended.
      
      >>> from mwclient import Site
      >>> site = mwclient.Site('en.wikipedia.org')
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
      NameError: name 'mwclient' is not defined
      
      vs.
      
      >>> site = Site('en.wikipedia.org')
      >>> page = site.pages['Greater guinea pig']
      >>> text = page.text()
      >>> page.exists
      True
      7f59df33
  2. Nov 09, 2018
  3. Nov 04, 2018
  4. Jul 31, 2018
  5. Jul 01, 2018
  6. Jun 28, 2018
  7. Apr 21, 2018
  8. Apr 08, 2018
  9. Feb 28, 2018
  10. Jan 14, 2018
  11. Jan 11, 2018
  12. Nov 26, 2017
  13. Nov 16, 2017
    • Adam Williamson's avatar
      Revert "Fix test compat with responses@0.6.0" · cd86bf35
      Adam Williamson authored
      This reverts commit 1650e0e7.
      Upstream restored handling of the adding_headers arg in 0.6.1.
      Going back to using that name means we're still compatible with
      any version of responses after 0.3.0, except 0.6.0. Also adjust
      setup.py to express this correctly.
      cd86bf35
  14. Sep 05, 2017
  15. Aug 11, 2017
  16. Jul 31, 2017
  17. Jun 11, 2017
  18. May 18, 2017
  19. May 17, 2017
Loading