Sitelet
https://github.com/python/cpython/commits/3.5/Doc/tutorial/datastructures.rst
Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.8k
(2.8k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Doc
tutorial
datastructures.rst
on
3.5
User selector
All users
Datepicker
All time
Commit history
Commits on May 4, 2017
[3.5] bpo-28315: Improve code examples in docs (GH-1372) (#1446)
Show description for 5274faf
Mariatta
authored
5274faf
View commit details
Copy full SHA for 5274faf
View code at this point
Browse repository at this point
Commits on Feb 26, 2017
[3.5] Fix small typos in introduction and datastructures of tutorial (GH-272) (GH-299)
Show description for 4c78463
Mariatta
authored
4c78463
View commit details
Copy full SHA for 4c78463
View code at this point
Browse repository at this point
Commits on Apr 17, 2016
Issue #26778: Fixed "a/an/and" typos in code comment and documentation.
serhiy-storchaka
committed
6a7b3a7
View commit details
Copy full SHA for 6a7b3a7
View code at this point
Browse repository at this point
Commits on Sep 1, 2015
Improve tutorial suggestion for looping techniques
rhettinger
committed
502bf51
View commit details
Copy full SHA for 502bf51
View code at this point
Browse repository at this point
Commits on Jan 14, 2015
Closes #23181: codepoint -> code point
birkenfeld
committed
3be472b
View commit details
Copy full SHA for 3be472b
View code at this point
Browse repository at this point
Commits on Oct 1, 2014
Merge #21739: mention subtle difference between loops and listcomps in tutorial.
bitdancer
committed
bbf4ae5
View commit details
Copy full SHA for bbf4ae5
View code at this point
Browse repository at this point
#21739: mention subtle difference between loops and listcomps in tutorial.
Show description for 6bd6860
bitdancer
committed
6bd6860
View commit details
Copy full SHA for 6bd6860
View code at this point
Browse repository at this point
Commits on May 27, 2014
Issue 21575: Show list.sort() arguments in the tutorial.
rhettinger
committed
07e0485
View commit details
Copy full SHA for 07e0485
View code at this point
Browse repository at this point
Commits on May 23, 2014
Issue #21545: Add .pop example and tweak comment about pure mutation methods.
Show description for e17de09
terryjreedy
committed
e17de09
View commit details
Copy full SHA for e17de09
View code at this point
Browse repository at this point
Commits on Oct 6, 2013
Add missing list methods. Found by Leonardo Pereira on docs@.
birkenfeld
committed
a12b682
View commit details
Copy full SHA for a12b682
View code at this point
Browse repository at this point
Commits on Nov 17, 2012
Merge rephrasing with 3.2.
ezio-melotti
committed
0bbfae3
View commit details
Copy full SHA for 0bbfae3
View code at this point
Browse repository at this point
Rephrase a sentence in the set and dict comprehensions tutorial page.
ezio-melotti
committed
89b03b0
View commit details
Copy full SHA for 89b03b0
View code at this point
Browse repository at this point
Commits on Oct 16, 2012
Issue #16225: Merge from 3.2: Add additional note to tutorial about looping.
cjerdonek
committed
38049bb
View commit details
Copy full SHA for 38049bb
View code at this point
Browse repository at this point
Issue #16225: Add additional note to tutorial about changing sequence while looping.
cjerdonek
committed
4fab8f0
View commit details
Copy full SHA for 4fab8f0
View code at this point
Browse repository at this point
Commits on Sep 28, 2012
Close issue #16073: merge fix from 3.2.
cjerdonek
committed
18581ef
View commit details
Copy full SHA for 18581ef
View code at this point
Browse repository at this point
Close issue #16073: fix map() example in list comprehension documentation.
Show description for fd448da
cjerdonek
committed
fd448da
View commit details
Copy full SHA for fd448da
View code at this point
Browse repository at this point
Commits on Aug 12, 2012
merge with 3.2
sandrotosi
committed
131160c
View commit details
Copy full SHA for 131160c
View code at this point
Browse repository at this point
zip() returns an iterator, make a list() of it; thanks to Martin from docs@
sandrotosi
committed
0a90a82
View commit details
Copy full SHA for 0a90a82
View code at this point
Browse repository at this point
Commits on Jun 17, 2012
#14840: merge with 3.2.
ezio-melotti
committed
5b1406f
View commit details
Copy full SHA for 5b1406f
View code at this point
Browse repository at this point
#14840: Add a bit on the difference between tuples and lists. Initial patch by Zachary Ware.
ezio-melotti
committed
f90ea1f
View commit details
Copy full SHA for f90ea1f
View code at this point
Browse repository at this point
Commits on Dec 13, 2011
#13549: merge with 3.2.
ezio-melotti
committed
d31d57e
View commit details
Copy full SHA for d31d57e
View code at this point
Browse repository at this point
#13549: improve tutorial section about listcomps.
ezio-melotti
committed
91621e2
View commit details
Copy full SHA for 91621e2
View code at this point
Browse repository at this point
Commits on Oct 8, 2011
Closes #12192: Document that mutating list methods do not return the instance (original patch by Mike Hoy).
birkenfeld
committed
388349a
View commit details
Copy full SHA for 388349a
View code at this point
Browse repository at this point
Commits on Nov 10, 2010
Fix typo.
birkenfeld
committed
1790ed2
View commit details
Copy full SHA for 1790ed2
View code at this point
Browse repository at this point
Commits on Sep 20, 2010
Fix typo.
birkenfeld
committed
448f20b
View commit details
Copy full SHA for 448f20b
View code at this point
Browse repository at this point
Commits on Aug 8, 2010
Issue #4570: Clean-up tutorial example
rhettinger
committed
afdeca9
View commit details
Copy full SHA for afdeca9
View code at this point
Browse repository at this point
Commits on May 21, 2010
Remove redundant example.
birkenfeld
committed
471ed00
View commit details
Copy full SHA for 471ed00
View code at this point
Browse repository at this point
Commits on Mar 31, 2010
Merged revisions 79522 via svnmerge from
Show description for 8f8db14
ezio-melotti
committed
8f8db14
View commit details
Copy full SHA for 8f8db14
View code at this point
Browse repository at this point
Commits on Mar 21, 2010
Merged revisions 79179 via svnmerge from
Show description for 718ce2c
birkenfeld
committed
718ce2c
View commit details
Copy full SHA for 718ce2c
View code at this point
Browse repository at this point
Commits on Jun 16, 2009
The key-value pairs can be lists or tuples or any iterable.
rhettinger
committed
8699aea
View commit details
Copy full SHA for 8699aea
View code at this point
Browse repository at this point
Expand a bit on dict views.
birkenfeld
committed
fc11f27
View commit details
Copy full SHA for fc11f27
View code at this point
Browse repository at this point
Commits on Jun 8, 2009
Fix markup.
birkenfeld
committed
10e0e30
View commit details
Copy full SHA for 10e0e30
View code at this point
Browse repository at this point
Elaborate encoding recommendations, and fix ambiguous wording for list comprehensions.
birkenfeld
committed
7ae90dd
View commit details
Copy full SHA for 7ae90dd
View code at this point
Browse repository at this point
Commits on Apr 5, 2009
Merged revisions 70712,70714,70764-70765,70769-70771,70773,70776-70777,70788-70789,70824,70828,70832,70836,70842,70851,70855,70857,70866-70872,70883,70885,70893-70894,70896-70897,70903,70905-70907,…
Show description for d23f822
benjaminp
committed
d23f822
View commit details
Copy full SHA for d23f822
View code at this point
Browse repository at this point
Commits on Feb 21, 2009
Merged revisions 69846 via svnmerge from
Show description for 934896d
mdickinson
committed
934896d
View commit details
Copy full SHA for 934896d
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.