Commit Graph

339 Commits

Author SHA1 Message Date
Marc Poulin 3bdbae8d8c Fixed grammar. 2018-09-24 13:58:49 -06:00
Marc Poulin 5d0541cbea Added missing comma 2018-09-24 13:52:20 -06:00
Marc Poulin 1d1ebf540d Side effects of changing a list 2018-09-14 11:20:53 -06:00
Marc Poulin dc078e1a66 Cleaned up some wording 2018-09-14 11:11:16 -06:00
Marc Poulin 6d8a602a0c Cleaned up formatting and grammar 2018-09-14 10:46:54 -06:00
Marc Poulin 29abc5acf3 Modifying the values in a list
To avoid side effects, don't modify the original list. Create a new list instead.
2018-09-13 11:28:43 -06:00
Marc Poulin e69d7e7657 2.x vs 3.x, lists vs. iterators
Describe the differences between 2.x and 3.x and suggest situations when iterators would be more appropriate than lists.
2018-09-13 11:00:37 -06:00
Marc Poulin 436dec875c Issue 796, clarify ways to manipulate a list 2018-09-11 15:52:31 -06:00
Dan Bader 03ed5fbf0d Host photos locally 2018-07-16 17:51:29 -07:00
adamdonahue b3141fe7a4 Remove non-contextual embedded video.
Remove a non-contextual embedded video that itself has multiple errors.  It confuses things, at best.
2018-05-28 15:04:00 -04:00
cclauss cf980344d0 print() function in gotchas.rst 2018-04-24 19:27:36 -06:00
Moritz Reiter c78a2e4f7f Fix link to the tests section 2018-02-19 09:36:32 +01:00
Prodesire 59757273d0 fix make error on ci.rst and tests.rst 2017-12-04 22:17:08 +08:00
Zac-HD ce7530bc70 New testing tool: Hypothesis
Based on README at https://github.com/HypothesisWorks/hypothesis-python
2017-11-27 13:58:59 +11:00
Zac-HD 9c6f2b79ad Cross-reference structure tests to writing tests
Closes #806
2017-11-27 13:25:47 +11:00
Zac-HD eaaddf5931 Nose is deprecated, remove suggestion
https://nose.readthedocs.io now suggests using nose2, which
https://github.com/nose-devs/nose2 in turn has ceased feature
development due to the popularity of py.test.

Closes #683
2017-11-27 13:25:30 +11:00
Josh 65c8a8ccd7 Update structure.rst - fix indentation bug 2017-11-13 16:18:22 -08:00
kikisdeliveryservice d6982f162f add internal link to version control ignores 2017-10-31 09:22:02 -07:00
Steven Barre 28525be1c1 Typo fix 2017-09-21 16:40:58 -07:00
kennethreitz 223cfa99ad Update tests.rst 2017-09-04 16:50:56 -04:00
kennethreitz 1d6412eeb5 Update structure.rst 2017-09-04 16:50:21 -04:00
kennethreitz 6305cefad7 Update tests.rst 2017-09-04 16:50:01 -04:00
kennethreitz 9c0c28d604 Update tests.rst 2017-09-04 16:49:37 -04:00
kennethreitz 18fc51467b Update reading.rst 2017-09-04 16:48:40 -04:00
kennethreitz 7fefdb03dd Update license.rst 2017-09-04 16:48:11 -04:00
kennethreitz 088bbe9839 Update documentation.rst 2017-09-04 16:47:23 -04:00
kennethreitz e2ccc68cc2 Update style.rst 2017-09-04 16:46:37 -04:00
kennethreitz 4c37b093b0 Update logging.rst 2017-09-04 16:45:34 -04:00
kennethreitz 62e047405d Update gotchas.rst 2017-09-04 16:44:59 -04:00
kennethreitz e8ae202725 Update structure.rst 2017-09-04 16:44:26 -04:00
Vivek Joshy ec5f791c69 Correct typo
Change looks to look
2017-08-11 06:01:03 -04:00
daegontaven 7be51790e4 Add version control ignores to gotchas 2017-08-11 01:46:24 -04:00
Harry Moreno 6776b2ff22 Fix grammar 2017-07-31 17:01:06 -04:00
Sharlak d39c485d16 clarified module naming re: underscores 2017-07-30 21:57:19 +01:00
Daniel Andersson 3f8f2fd739 pep8 is nowadays called pycodestyle
See <https://github.com/PyCQA/pycodestyle/issues/466>. Pointing towards
the `pep8` tool risks leading users to outdated versions of the tool
(the last `pep8` version is 1.7.0 from January 2016; the currently
latest `pycodestyle` version is 2.3.0).
2017-05-25 19:40:08 +02:00
sbstn mssr 62956e9c8b pytest url fix
pytest site url was brokenly pointing to https://docs.pytest.org/latest/.
2017-05-08 16:36:27 -04:00
monchitos 6e0c78df7b Adding a reminder for preventing a misuse of the example in "common gotchas/mutable default arguments" 2017-04-18 10:02:15 -05:00
kennethreitz db83c8f368 Merge pull request #798 from userlerueda/patch-1
Update logging.rst
2017-03-10 11:46:56 -05:00
kennethreitz 885185a5a0 Merge pull request #800 from thinkerbot/patch-1
Indentation typo
2017-03-10 11:45:39 -05:00
tv3141 f3bf91acec tests: use __file__ for package import 2017-02-28 11:33:48 +00:00
Simon Chiang d1f24121ef Indentation typo 2017-02-24 08:21:52 -07:00
Luis Rueda f20a2f63c4 Update logging.rst
Update to include changes proposed in issue #794
2017-02-23 13:48:52 -05:00
kennethreitz 2136f4b7cf Merge branch 'patch-1' of https://github.com/danshorstein/python-guide 2017-02-23 11:11:38 -05:00
Dan Shorstein 46b5e63b0a add example to mutable/immutable types
added the map example, with explanation
2017-02-18 11:03:26 -05:00
Gabbarnama 61ad4a642f Update structure.rst
Removed hyperlink from setup.py
2016-12-06 19:43:59 +05:30
caimaoy 1b2a943ad8 update tox docs url 2016-11-22 18:36:08 +08:00
kennethreitz 96fda54d28 Merge pull request #735 from robsonpeixoto/patch-1
Cleaning up *.py[co] and __pycache__ tip
2016-10-31 15:00:41 -04:00
kennethreitz b81aa84d33 Merge pull request #712 from Michael-F-Bryan/docstrings
Wrote up a couple examples for docstrings
2016-10-31 11:14:32 -04:00
kennethreitz bea106ace8 Merge pull request #743 from alphor/fix-alphor-typo
amending previous submission, fixing markdown
2016-10-31 11:13:34 -04:00
Sidney Pham 5ad43199de Fixed example docstring 2016-10-07 15:53:05 +11:00