Levi Bostian
133baf5565
Merge pull request #1478 from aayushranaut/master
...
Range is not a generator
2015-10-12 23:27:30 -05:00
Gnomino
097c839b7b
Changed way of creating classes
2015-10-11 13:47:44 +02:00
Aayush Ranaut
7d8bab656f
Range is not a generator
2015-10-09 18:48:40 -04:00
Levi Bostian
b5ffe569ef
Merge pull request #1305 from kdelwat/master
...
[python3/en] Added examples of multiple parameters to higher order functions
2015-10-09 10:04:51 -05:00
DaKnOb
879337f9be
Add Python Order Of Module Import for Python 3
2015-10-09 13:43:57 +03:00
Gabriel Halley
960ee4a185
removing whitespace all over
2015-10-07 23:11:24 -04:00
Cadel Watson
777423dcc5
Add examples of higher-order functions taking multiple arguments
2015-10-07 17:01:28 +11:00
Levi Bostian
bb02567725
Merge pull request #1306 from zfergus2/master
...
[python3/en] edits and additions
2015-10-05 13:14:09 -05:00
Zachary Ferguson
5225372045
Fixed whitespaces
...
Fixed the spacing to conform with standards.
2015-10-04 19:58:14 -04:00
VeerpalB
82bdd1b1c8
Add step parameter to range function
...
A description of the step parameter of the range function is added. An example of its use in a for loop is also given.
2015-10-04 19:41:13 -04:00
Zachary Ferguson
7184d7b61d
Changed [python3/en]
...
Compared is and ==.
Noted that tuples of length 1 require an ending
comma.
Discussed that keys of dictionaries have to be immutable.
Added
that elements of a set have to be immutable.
Included an explanation of
returning multiple values with tuple assignments.
Added some clarifying
remarks to comments.
2015-10-02 17:24:36 -04:00
Foo Chuan Wei
1ccebdf972
Update python3.html.markdown
2015-09-05 21:26:22 +08:00
Foo Chuan Wei
11749e1ba0
Corrected Python3 print() function
2015-09-05 11:10:18 +08:00
Denis Gladkikh
1b767166e1
Python3: add finally and with statements
2015-09-01 10:25:04 -07:00
Genki Marshall
ac2dfe7dc7
[python3/en] Use next()
instead of __next__()
...
Fixes issue #1148 .
The reasoning is well explained by the issue. One can also refer to the
docs [0], showing it is more idiomatic to use `next()`.
[0]: https://www.python.org/dev/peps/pep-3114/
#double-underscore-methods-and-built-in-functions
2015-07-24 13:21:01 -07:00
Al Sweigart
8a968db2bc
Added links to the free book "Automate the Boring Stuff with Python" to the "Free Online" section.
2015-07-23 11:24:40 -07:00
Michael Herman
5b66758d76
Update python3.html.markdown
2015-07-05 21:12:58 -06:00
Michael Herman
55f9ff0654
python/en - added two resources
2015-07-05 08:36:51 -06:00
Geoff Liu
ffc5ac247c
Python3 doc cleanup
2015-04-30 23:44:09 -06:00
Sriram Sundarraj
8cfb7ba02f
[python/en] Range function arguments.
...
Range function with start and stop.
2015-04-23 02:06:43 +05:30
Sriram Sundarraj
d20eb1fb94
Adding strings without + added.
2015-04-23 01:48:18 +05:30
Cornel Punga
44c37d5531
[python3.html.mardown] Added a short statement about magic methods
...
Terminology related to Python special functions
2015-03-24 19:26:19 +02:00
Cornel Punga
7e7a60d47c
Update python3.html.markdown. Changes to spacing and online resources
...
1. Some changes related to spacing
2. Added an online resource
2015-03-24 12:29:01 +02:00
suuuzi
f4bd1bc8b4
Python 3: Changing 'the other tutorial' to a link refering the other tutorial
2015-02-04 15:32:55 -02:00
ven
ea929d6094
Merge pull request #897 from maniexx/master
...
PYTHON3: Delete PYMOTW3 due to lack of content
2014-12-22 15:29:07 +01:00
maniexx
674284cfcb
Delete PYMOTW3 due to lack of content
2014-12-22 15:24:09 +01:00
Jack Hooper
38cf765079
Apostrophe fixes as per Python 2 tutorial
2014-11-12 02:04:50 +11:00
Andre Polykanine A.K.A. Menelion Elensúlë
68c9aed134
Corrected as per @iirelu's comment
2014-10-09 23:06:24 +03:00
Andre Polykanine A.K.A. Menelion Elensúlë
39d8753d52
[python/en] Adding exponentiation operator
2014-10-09 22:49:47 +03:00
Steven Basart
820eebcd33
[python3/en] Bool operators
...
Bool operators
2014-09-07 19:23:07 -04:00
Steven Basart
9a909d6a4a
Added Boolean operators and lowered line lengths
...
Added Bool operators and and or, and lowered some line lengths. Also shifted some notes above the code lines to keep with same style and help readability. Also added a note on list comprehension. Also added adding to dictionary.
2014-09-07 02:39:31 -04:00
Louie Dinh
83b63aab54
Fix a long line.
2014-08-21 15:38:50 -07:00
Evgeniy Ginzburg
cb3217fc35
Merge https://github.com/adambard/learnxinyminutes-docs
...
Added two minor changes in integer division to make it clear
2014-08-06 23:45:44 +03:00
Evgeniy Ginzburg
7bcf65278c
comment about floats in integer division
2014-08-06 23:45:37 +03:00
Mikael E. Wikner
a30c76789e
Added changes to the python3 file aswell
2014-08-06 00:20:24 +02:00
Evgeniy Ginzburg
611a00b510
Merge https://github.com/adambard/learnxinyminutes-docs
2014-08-05 17:41:41 +03:00
Evgeniy Ginzburg
57036f128f
aded negative integer division
2014-08-05 17:41:28 +03:00
Shashwat986
abc06a620b
Update python3.html.markdown
...
Added more info to try/except. Corrected some trivial bugs.
2014-08-03 21:56:26 +05:30
Adam Brenecki
164cf1ce78
Mention that Python 2.5-style string formatting still works in 3
2014-07-16 10:25:03 +09:30
Adam Brenecki
0654a19b44
[python3/en] Clean up confusion between % and .format()
2014-07-15 13:30:27 +09:30
Steven Basart
f08663db5c
Update python3.html.markdown
2014-07-13 16:00:28 -04:00
Steven Basart
42c93bf407
[python3/en] added int div, modulo, and scoping
...
Added integer or truncation division, the modulo operator which were missing from operators section. Added function scoping in the functions section.
2014-07-13 14:45:14 -04:00
Steven Basart
bdbff25c58
[python3/en] added int div, modulo, and scoping
...
Added integer or truncation division, the modulo operator which were missing from operators section. Added function scoping in the functions section.
2014-07-13 14:08:12 -04:00
Steven Basart
9f29296054
Update python3.html.markdown
...
fixed python 3 english sets error and editted .add comment because .add only accepts one argument
2014-06-16 14:47:43 -04:00
hirohope
7487e48d03
typo fixes and version in docs
2014-05-18 22:58:35 -04:00
Adam Bard
a4e0544167
Update python->python3 so things don't get mixed up.
2014-05-03 22:46:28 -02:30
Louie Dinh
55660ce3c7
Add Python 3 tutorial
2014-05-03 17:17:43 -07:00