Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | [python3/en] Clarify difference between iterators and iterables in the last ↵ | Mariusz Skoneczko | 2019-10-22 | -2/+8 |
| | | | | example (closes #3586) | |||
* | Fix explanation for slices | Divay Prakash | 2019-09-24 | -9/+5 |
| | ||||
* | Added write to and read from a file syntax | Ben Landry | 2019-08-21 | -0/+20 |
| | ||||
* | [python3/en] Added enumerate function (#3601) | Ben Landry | 2019-08-13 | -0/+11 |
| | | | | | | * Added enumerate function * adjusted spacing | |||
* | Add output for python3 f-string. | Ryota Kayanuma | 2019-07-15 | -1/+1 |
| | ||||
* | Update python3.html.markdown | Gaven Finch | 2019-02-05 | -2/+2 |
| | ||||
* | Merge pull request #3424 from EvilKhaosKat/patch-1 | Divay Prakash | 2018-12-21 | -0/+1 |
|\ | | | | | [python3/en] A note about common gotcha with mutable defaults | |||
| * | [python3/en] A note about common gotcha with mutable defaults | Roman Garanin | 2018-12-19 | -0/+1 |
| | | | | | | | | A reminder to be aware of using mutable defaults. Whether it is a real problem or not depends on exact use-case, but an update fully describing that and updating code with copying list, or defaulting with None and conditional initialization, would probably negatively affect readability of the example. | |||
* | | [python3/en] Add note about dictionary item ordering in Python 3.7+ (#3423) | Nico Dinata | 2018-12-21 | -5/+8 |
|/ | | | | | * Add changes to dict item ordering in Python 3.7+ * Fix line length * Fix typo in example | |||
* | Merge pull request #3413 from nielsbom/patch-2 | Divay Prakash | 2018-12-01 | -1/+4 |
|\ | | | | | [python3/en] show chaining operators nicer | |||
| * | [python3/en] show chaining operators nicer | Niels Bom | 2018-11-30 | -1/+4 |
| | | ||||
* | | [python3/en] show that True and False are ints (#3412) | Niels Bom | 2018-12-01 | -6/+15 |
|/ | | | | | | | | * [python3/en] show that True and False are ints * [python3/en] rework some boolean stuff I removed the example `-5 != False != True #=> True` because we didn't cover chaining yet. | |||
* | Fix tuple unpacking example in python3, closes #3130 (#3328) | Divay Prakash | 2018-10-26 | -1/+2 |
| | ||||
* | Add f-string clarification. | Joseph G | 2018-10-11 | -1/+3 |
| | ||||
* | Clarification about sets | Roberto Fernandez Diaz | 2018-08-07 | -0/+3 |
| | | | I indicate that a set doesn't contain duplicate elements and add a little example | |||
* | added example for f-string | 理絵子 | 2018-07-29 | -0/+4 |
| | | | Literal string interpolation is new in python 3.6 [pep-0498](https://www.python.org/dev/peps/pep-0498/) | |||
* | Corrections on Python3 page | qzhangjhu | 2018-02-28 | -5/+5 |
| | ||||
* | Merge pull request #3057 from ebzzry/fix-typo | Pratik Karki | 2018-02-28 | -3/+4 |
|\ | | | | | [python3/en]: fix typo | |||
| * | [python3/en]: fix typo | Rommel Martinez | 2018-02-03 | -3/+4 |
| | | ||||
* | | Fix omitting in list and clarified comments | Aswin Sanakan | 2017-12-05 | -2/+2 |
|/ | ||||
* | python3/en cleanup for single inheritance merge | Keith Miyake | 2017-10-23 | -15/+5 |
| | ||||
* | [python3/en] Add single inheritance section | Keith Miyake | 2017-10-19 | -17/+111 |
| | ||||
* | Update python3.html.markdown (#2776) | Alfonso Millan | 2017-06-29 | -0/+1 |
| | ||||
* | Some improvements to Python 3 (#2713) | Ned Batchelder | 2017-05-18 | -25/+24 |
| | ||||
* | [Python] Slightly tweak ** example | Adam Bard | 2017-04-05 | -1/+1 |
| | | | 2^4 == 4^2, 2^3 seems a bit less ambiguous as an example for exponentiation. | |||
* | add underscore to property (#2691) | Ankush Aggarwal | 2017-03-28 | -1/+1 |
| | | | property is exposed using setter and getters | |||
* | Updated mistake in Python3/en tutorial (#2678) | Andrew Lee | 2017-02-28 | -2/+5 |
| | | | | A fix on static method section (around line 728). Specifically, i.grunt() should raise an error since grunt() is a static method and 'i' is an instance of the class. | |||
* | [python3/en] Fix two "getter" output examples (#2658) | lilhandsbgdreams | 2017-02-16 | -2/+2 |
| | ||||
* | Fix omitting end / beginning in ranges (#2649) | Adrian Sieber | 2017-02-10 | -2/+2 |
| | ||||
* | [python3/en] Add examples to Bool operators with ints (#2639) | ghostduck | 2017-01-28 | -0/+3 |
| | ||||
* | [python3/en] fixed "StopIterator", no such Exception (#2591) | kakakaya | 2016-12-03 | -1/+1 |
| | | | | | | * [python3/en] Add empty tuple to "False if evaluated" list * [python3/en] Fixed "StopIterator Exception" - no such exception | |||
* | [python3/en] Add empty tuple to "False if evaluated" list (#2587) | kakakaya | 2016-11-30 | -2/+2 |
| | ||||
* | [python3/en] Edit python3 division (#2560) | Foo Chuan Wei | 2016-11-09 | -7/+1 |
| | | | | | | | | The result of division is always a float. e.g. 35/5 = 7.0 10 / 3 = 3.3333333333333335 10.0 / 3 = 3.3333333333333335 10 / 3.0 = 3.3333333333333335 | |||
* | Add python3 class notes (#2479) | Harry Moreno | 2016-10-20 | -0/+5 |
| | | | | | * explain that you can place the human and bat classes into seperate files * explain how to import specific functions from other files | |||
* | [python3] updated docs on division for python3 (#2473) | Srinivas Gorur-Shandilya | 2016-10-20 | -3/+7 |
| | | | | | | | | | | * updated docs on division for python3 prev. docs were confusing, did not show how to actually divide. * modified language about python division * fixed grammar | |||
* | Update python3.html.markdown | ven | 2016-10-04 | -6/+0 |
| | ||||
* | Update python3.html.markdown (#2381) | Subhrajyoti Sen | 2016-09-21 | -0/+1 |
| | ||||
* | [Eng/Python3] add new book: "Learn Python 3.0 VISUALLY" (#2360) | Patrick Callahan | 2016-09-06 | -0/+1 |
| | | | | | | * add new book * sanitized link | |||
* | correction for the set comprehension in py3 (#2358) | PhoenixYip | 2016-09-06 | -1/+1 |
| | ||||
* | [python3/en] Adding "Dive Into Python 3" (#2353) | Patrick Callahan | 2016-09-01 | -0/+2 |
| | | | | The previous version of this file had the original Dive Into Python, which was written with Python 2 in mind. It has come to my attention that the author of the original has published an updated version designed for Python 3, so I added this version back in. | |||
* | Remove Python 2 resources from Python 3 page (#2350) | Patrick Callahan | 2016-09-01 | -5/+0 |
| | | | There were several resources here that teach Python 2, but not Python 3. I removed them so that a reader will only see resources that apply to Python 3. | |||
* | [python/en] Set, dict, and generator comprehensions (#2298) | J. Ryan Rembert | 2016-07-03 | -14/+24 |
| | | | | | | | | * Add set and dict comprehensions for python 2 and 3 * Clean up formatting and generator explanation * Include documentation for generator comprehensions | |||
* | Python3/en: multiple inheritance (#2217) | Alexandre Constantino | 2016-06-26 | -50/+147 |
| | | | | | | | | | | | | | | | | | | | | * Add __name__ check to make testing easier * Update say to call print. Add more usage examples * Move Modules section before Classes Makes more sense for when explaining inheritance * Add multiple inheritance example * Add examples for multiple inheritance * Add instance check examples * Fix multiple inheritance example * Add note on the __name__ variable | |||
* | String length by #1742 | ven | 2016-06-16 | -0/+3 |
| | ||||
* | Update python3.html.markdown | Adam Bard | 2016-03-30 | -1/+0 |
| | | | Remove TODO | |||
* | Update python3.html.markdown | Alfredo Canziani | 2016-03-30 | -1/+1 |
| | | | | | | | | | The same happens for `filter`. ```pythob filter(lambda x: x > 5, [3, 4, 5, 6, 7]) <filter at 0x110567320> list(filter(lambda x: x > 5, [3, 4, 5, 6, 7])) [6, 7] ``` | |||
* | Update python3.html.markdown | Alfredo Canziani | 2016-03-30 | -2/+2 |
| | | | `map` requires `list` in order to convert the mapping to its list. E.g. `<map at 0x11057ce48>` to `[11, 12, 13]`. | |||
* | Merge pull request #1288 from DaKnOb/fixpymod | ven | 2016-03-10 | -0/+5 |
|\ | | | | | [python/en] Add note about Python Module Order of Import | |||
| * | Add Python Order Of Module Import for Python 3 | DaKnOb | 2015-10-09 | -0/+5 |
| | | ||||
* | | Merge pull request #1643 from ↵ | Adam Bard | 2016-02-14 | -0/+4 |
|\ \ | | | | | | | | | | | | | ankitaggarwal011/python3-ternary-operator-documentation-add [python3/en] Adding documentation on ternary operator |