1. 18 Jun, 2011 1 commit
  2. 17 Jun, 2011 1 commit
  3. 16 Jun, 2011 1 commit
  4. 13 Jun, 2011 1 commit
  5. 11 Jun, 2011 6 commits
  6. 10 Jun, 2011 4 commits
  7. 09 Jun, 2011 5 commits
  8. 07 Jun, 2011 1 commit
  9. 06 Jun, 2011 1 commit
  10. 05 Jun, 2011 3 commits
  11. 04 Jun, 2011 6 commits
  12. 03 Jun, 2011 6 commits
  13. 02 Jun, 2011 1 commit
  14. 01 Jun, 2011 3 commits
    • Raymond Hettinger's avatar
      Cleanup example · 88fc6617
      Raymond Hettinger authored
      88fc6617
    • Raymond Hettinger's avatar
      Multiple clean-ups to the docs for builtin functions. · 690d4ae8
      Raymond Hettinger authored
      * Use concrete example for dir() and eliminate the distracting doctest directives.
      * Add a pure python equivalent for enumerate()
      * Modify the enumerate() example to demonstrate the start argument
      * Remove incorrect reference the *iterable* in the enumerate() docs.
      * Downgrade the comments on input() from a warning to a note.
      * Fix the iter() example to use the empty string as the terminating
        condition for file.readline().  Also, the old example was broken
        because readline() results include a newline, so 'STOP\n' would have
        been the correct terminating condition.  Even with that fix, the
        STOP example was fragile and would have lead to infinite loops with
        malformed inputs.
      * Do not refer to classmethod as being "more advanced" than staticmethod.
      690d4ae8
    • Raymond Hettinger's avatar
      783a30f3