Commit Graph

140 Commits

Author SHA1 Message Date
ldinh
868b259db1 Change formatting 2013-06-30 15:47:56 -07:00
ldinh
34a9f1aab1 Add line breaks 2013-06-30 15:36:37 -07:00
ldinh
ae5060a4bf Add to Python reference material 2013-06-30 15:35:20 -07:00
ldinh
77672e7891 Fix some inconsistencies so that the doc can be read top to bottom 2013-06-30 15:17:41 -07:00
Adam
ba55f6fcaa Fix whitespace 2013-06-29 23:13:53 -07:00
Michael Lee
79c26e6679 Added a few lines about truthiness, how lists can contain arbitrary data types, how you can unpack both tuples and lists, using ange, assigning lambdas to variables, dictionary comprehensions, modules, and links to more info about the standard library. 2013-06-29 21:35:11 -07:00
Adam
83aeecb68a Added filename parameter 2013-06-29 20:19:14 -07:00
Leah Hanson
03461ad0de tiny typo fix in python
we -> be
2013-06-29 16:21:55 -04:00
Juraj Bubniak
c51d0ec1a7 python set literals should be separated by comma 2013-06-29 08:22:19 +02:00
Adam
a6bcf5f8d7 Fixes #16: Added new-style string formatting 2013-06-28 21:20:08 -07:00
Adam
4789dd1097 Fixes #26: triple-quoted strings are identified as such, not as comments 2013-06-28 21:17:29 -07:00
Adam
04cedf9844 Fixes #15: Set literals 2013-06-28 21:15:50 -07:00
Adam
e1424579e7 Fixes #14: Clarified if-as-expression wording in python tut 2013-06-28 21:11:54 -07:00
Adam Bard
4f50dedd5c Merge pull request #23 from brianr/patch-1
Use consistent example for demonstrating integer vs. float division
2013-06-28 19:56:09 -07:00
Adam
86273dec2f Updates 2013-06-28 17:21:24 -07:00
Adam Bard
8af9965751 Merge pull request #27 from lodin/master
Adding contact for feedback =]
2013-06-28 17:21:00 -07:00
Jeff Carpenter
e2fe947b79 Reverse "omit the beginning|end"
While reading I thought this might be a mistake (or I'm just going crazy).
2013-06-28 17:11:32 -07:00
Brian Rue
cf98f74d61 Use consistent example for demonstrating integer vs. float division 2013-06-28 16:56:42 -07:00
Louie Dinh
199e037682 Add contact info to python doc 2013-06-28 16:32:26 -07:00
Louie Dinh
a87a1ea3fd Merge remote-tracking branch 'upstream/master' 2013-06-28 16:29:46 -07:00
Brian Rue
6f255a5e62 Use consistent example for demonstrating integer vs. float division
I had to do a decent amount of mental math to figure out the old example (11 / 4 => 2).

This one (5 / 2 => 2) is easier, and makes the difference vs. float division (5.0 / 2.0 => 2.5) easier to spot.
2013-06-28 15:55:23 -07:00
Nick Presta
6cfb00d106 Removing the bit about commas and exceptions. 2013-06-28 18:34:30 -04:00
Adam Bard
63b8f04c57 Merge pull request #17 from mrshankly/patch-1
Corrected the last element of li in the lists explanation
2013-06-28 14:02:45 -07:00
Kyle Partridge
fe5f72d868 added some clarification on the default value for dictionary.get 2013-06-28 13:55:16 -07:00
mrshankly
f7352567f4 Corrected the last element of li in the lists explanation. 2013-06-28 21:29:03 +01:00
Adam
2e805c8c02 Updates 2013-06-28 12:59:45 -07:00
Liteye
9e17e87885 add conditional expressions, get and setdefault for dictionary and a little tip about fuction calling.
Signed-off-by: Liteye <yelite958@gmail.com>
2013-06-28 22:59:25 +08:00
js.sevestre
ff14723ee6 Add inequality and chained comparisons 2013-06-28 09:52:39 +02:00
Adam
e37b1745a7 Fixed a typo 2013-06-27 18:27:14 -07:00
Adam
1fed90cba6 Fixed any syntax errors 2013-06-27 18:22:30 -07:00
Adam
d164d5a56e Minor fixes to python doc 2013-06-27 18:18:05 -07:00
Julia Evans
26d6fe55e3 Fix typo
8-1 is 7 =)
2013-06-27 14:35:33 -04:00
Louie Dinh
cbb2ef1197 Remove however in unpacking commenting. It's confusing 2013-06-27 10:57:49 -07:00
Adam
2e9f5a642b Small edits to python version 2013-06-27 10:53:43 -07:00
Louie Dinh
445041776c Added tuples, floats and slice syntax. A few minor edits too 2013-06-27 10:36:57 -07:00
Adam
31c16d7eb9 Minor updates 2013-06-27 09:35:59 -07:00
ldinh
360512e5a3 fix typo 2013-06-27 00:45:59 -07:00
ldinh
e9aa9b480f Fix a few bugs 2013-06-27 00:45:11 -07:00
ldinh
3afa1ee104 Fill out python doc 2013-06-27 00:29:07 -07:00
Louie Dinh
160ca481e8 Add python. Just copied clojure.html.markdown 2013-06-26 16:49:50 -07:00