Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | 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 | |||
| * | | Adding documentation on ternary operator | Ankit Aggarwal | 2015-10-19 | -0/+4 |
| | | | ||||
* | | | Merge remote-tracking branch 'adambard/master' | sarthfrey | 2016-01-25 | -2/+2 |
|\ \ \ | | | | | | | | | | | | | | | | | # Conflicts: # python.html.markdown | |||
| * | | | Changed a to b in comment about list assignment, and pluralized 'variable'. | SWalls | 2016-01-10 | -2/+2 |
| | | | | ||||
* | | | | Added Python Resources | sarthfrey | 2015-12-16 | -0/+1 |
|/ / / | ||||
* | | | Fixed erroneous output and added a little clarity on the matter | Louis Christopher | 2015-11-21 | -2/+2 |
| | | | | | | | | | | | | | | | list.index(argument) would return the index of the item in the list that first matched the argument It will not return the value stored at the index of the argument as it was prior. Added some more clarity to the subject as well. | |||
* | | | Fixed erroneous output stated in a comment | Louis Christopher | 2015-11-21 | -1/+0 |
| | | | | | | | | | | | | range( start = lower limit, End is < Upper limit , Step) The upper limit is never printed. Fixed the error. | |||
* | | | Correct math.sqrt(16) | Leslie Zhang | 2015-11-07 | -1/+1 |
|/ / | | | | | math.sqrt(16) returns 4.0 instead of 4 | |||
* | | Merge 'master' of github.com:adambard/learnxinyminutes-docs | evuez | 2015-10-16 | -110/+117 |
|\ \ | ||||
| * | | Added instructions for input operations in Python3 | Ankit Aggarwal | 2015-10-14 | -0/+4 |
| | | |