summaryrefslogtreecommitdiffhomepage
path: root/python3.html.markdown
Commit message (Collapse)AuthorAgeLines
* Clarification about setsRoberto Fernandez Diaz2018-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 pageqzhangjhu2018-02-28-5/+5
|
* Merge pull request #3057 from ebzzry/fix-typoPratik Karki2018-02-28-3/+4
|\ | | | | [python3/en]: fix typo
| * [python3/en]: fix typoRommel Martinez2018-02-03-3/+4
| |
* | Fix omitting in list and clarified commentsAswin Sanakan2017-12-05-2/+2
|/
* python3/en cleanup for single inheritance mergeKeith Miyake2017-10-23-15/+5
|
* [python3/en] Add single inheritance sectionKeith Miyake2017-10-19-17/+111
|
* Update python3.html.markdown (#2776)Alfonso Millan2017-06-29-0/+1
|
* Some improvements to Python 3 (#2713)Ned Batchelder2017-05-18-25/+24
|
* [Python] Slightly tweak ** example Adam Bard2017-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 Aggarwal2017-03-28-1/+1
| | | property is exposed using setter and getters
* Updated mistake in Python3/en tutorial (#2678)Andrew Lee2017-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)lilhandsbgdreams2017-02-16-2/+2
|
* Fix omitting end / beginning in ranges (#2649)Adrian Sieber2017-02-10-2/+2
|
* [python3/en] Add examples to Bool operators with ints (#2639)ghostduck2017-01-28-0/+3
|
* [python3/en] fixed "StopIterator", no such Exception (#2591)kakakaya2016-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)kakakaya2016-11-30-2/+2
|
* [python3/en] Edit python3 division (#2560)Foo Chuan Wei2016-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 Moreno2016-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-Shandilya2016-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.markdownven2016-10-04-6/+0
|
* Update python3.html.markdown (#2381)Subhrajyoti Sen2016-09-21-0/+1
|
* [Eng/Python3] add new book: "Learn Python 3.0 VISUALLY" (#2360)Patrick Callahan2016-09-06-0/+1
| | | | | | * add new book * sanitized link
* correction for the set comprehension in py3 (#2358)PhoenixYip2016-09-06-1/+1
|
* [python3/en] Adding "Dive Into Python 3" (#2353)Patrick Callahan2016-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 Callahan2016-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 Rembert2016-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 Constantino2016-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 #1742ven2016-06-16-0/+3
|
* Update python3.html.markdownAdam Bard2016-03-30-1/+0
| | | Remove TODO
* Update python3.html.markdownAlfredo Canziani2016-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.markdownAlfredo Canziani2016-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/fixpymodven2016-03-10-0/+5
|\ | | | | [python/en] Add note about Python Module Order of Import
| * Add Python Order Of Module Import for Python 3DaKnOb2015-10-09-0/+5
| |
* | Merge pull request #1643 from ↵Adam Bard2016-02-14-0/+4
|\ \ | | | | | | | | | | | | ankitaggarwal011/python3-ternary-operator-documentation-add [python3/en] Adding documentation on ternary operator
| * | Adding documentation on ternary operatorAnkit Aggarwal2015-10-19-0/+4
| | |
* | | Merge remote-tracking branch 'adambard/master'sarthfrey2016-01-25-2/+2
|\ \ \ | | | | | | | | | | | | | | | | # Conflicts: # python.html.markdown
| * | | Changed a to b in comment about list assignment, and pluralized 'variable'.SWalls2016-01-10-2/+2
| | | |
* | | | Added Python Resourcessarthfrey2015-12-16-0/+1
|/ / /
* | | Fixed erroneous output and added a little clarity on the matterLouis Christopher2015-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 commentLouis Christopher2015-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 Zhang2015-11-07-1/+1
|/ / | | | | math.sqrt(16) returns 4.0 instead of 4
* | Merge 'master' of github.com:adambard/learnxinyminutes-docsevuez2015-10-16-110/+117
|\ \
| * | Added instructions for input operations in Python3Ankit Aggarwal2015-10-14-0/+4
| | |
| * | Merge pull request #1504 from dillonjbyrne/patch-1Levi Bostian2015-10-14-119/+119
| |\ \ | | | | | | | | [python3/en] Cleaned up formatting and clarified output
| | * | Cleaned up formatting and clarified outputDillon J Byrne2015-10-13-119/+119
| | | | | | | | | | | | Unified the formatting throughout the document, clarified the output of a few lines, and tried to make it easier to visually separate comments from code when reading.
| * | | Add PEP8 to "Free Online"evuez2015-10-13-0/+1
| | | |
| * | | Add resources to the "Free Online" sectionevuez2015-10-13-0/+2
| |/ / | | | | | | | | | These have been valuable resources to me, but I'm not sure whether it fits this section or not.
* | | Add property to Classesevuez2015-10-13-5/+36
| | | | | | | | | | | | This adds the property decorator (getter, setter, deleter) to the class example. Also update scopes functions to fit PEP8.