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
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
37k
Star
77.4k
Code
Issues
5k+
Pull requests
2.7k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Doc
library
struct.rst
on
3.10
User selector
All users
Datepicker
All time
Commit history
Commits on Feb 23, 2023
Fix syntax error in struct doc example (GH-102160)
Show description for 780dec8
miss-islington
and
terryjreedy
authored
780dec8
View commit details
Copy full SHA for 780dec8
View code at this point
Browse repository at this point
Commits on Nov 22, 2022
[3.10] gh-99146 struct module documentation should have more predictable examples/warnings (GH-99141) (GH-99703)
Show description for fa6cc9e
miss-islington
and
smontanaro
authored
fa6cc9e
View commit details
Copy full SHA for fa6cc9e
View code at this point
Browse repository at this point
Commits on Nov 3, 2022
gh-65002: Make note that null bytes are used to pad bytes (GH-98635)
Show description for b9e621b
miss-islington
and
slateny
authored
b9e621b
View commit details
Copy full SHA for b9e621b
View code at this point
Browse repository at this point
Commits on Oct 5, 2022
[3.10] gh-93738: Documentation C syntax (:c:type:<C type> -> :c:expr:<C type>) (GH-97768) (#97925)
Show description for 3b0f2a7
ambv
and
AA-Turner
authored
3b0f2a7
View commit details
Copy full SHA for 3b0f2a7
View code at this point
Browse repository at this point
Commits on Jul 5, 2022
[3.10] Docs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551) (GH-94558)
Show description for 6e47020
ambv
and
nedbat
authored
6e47020
View commit details
Copy full SHA for 6e47020
View code at this point
Browse repository at this point
Commits on Jun 21, 2022
[3.10] gh-93851: Fix all broken links in Doc/ (GH-93853) (GH-94078)
Show description for 38fdff9
ambv
and
arhadthedev
authored
38fdff9
View commit details
Copy full SHA for 38fdff9
View code at this point
Browse repository at this point
Commits on Jun 9, 2022
Doc: Update references and examples of old, unsupported OSes and uarches (GH-92791) (GH-93639)
Show description for 2139583
miss-islington
and
CAM-Gerlach
authored
2139583
View commit details
Copy full SHA for 2139583
View code at this point
Browse repository at this point
Commits on Sep 11, 2020
[doc] struct: update note about network byte order form to be more helpful (GH-22201)
Show description for fb27187
theacodes
authored
fb27187
View commit details
Copy full SHA for fb27187
View code at this point
Browse repository at this point
Commits on Feb 10, 2020
Remove redundant references in struct doc (GH-18053)
christopheNan
authored
3c5dec6
View commit details
Copy full SHA for 3c5dec6
View code at this point
Browse repository at this point
Commits on Aug 22, 2019
bpo-27961: Remove leftovers from the times when long long wasn't required (GH-15388)
sir-sigurd
authored and
pablogsal
committed
a38e9d1
View commit details
Copy full SHA for a38e9d1
View code at this point
Browse repository at this point
Commits on Jun 5, 2019
bpo-37134: Add PEP570 notation to the documentation (GH-13743)
pablogsal
authored and
willingc
committed
54edb04
View commit details
Copy full SHA for 54edb04
View code at this point
Browse repository at this point
Commits on Oct 28, 2018
bpo-35054: Add yet more index entries for symbols. (GH-10121)
serhiy-storchaka
authored
913876d
View commit details
Copy full SHA for 913876d
View code at this point
Browse repository at this point
Commits on Oct 26, 2018
bpo-35054: Add more index entries for symbols. (GH-10064)
serhiy-storchaka
authored
ddb961d
View commit details
Copy full SHA for ddb961d
View code at this point
Browse repository at this point
Commits on Sep 11, 2018
bpo-33032: Mention the implicit cache in struct.Struct() docs (GH-7700)
Show description for 3666b3c
ZackerySpytz
authored and
gpshead
committed
3666b3c
View commit details
Copy full SHA for 3666b3c
View code at this point
Browse repository at this point
Commits on Mar 10, 2018
bpo-30249: Improve struct.unpack_from() error messages (GH-6059)
zhangyangyu
authored
c10b288
View commit details
Copy full SHA for c10b288
View code at this point
Browse repository at this point
Commits on Jun 23, 2017
bpo-21071: struct.Struct.format type is now str (#845)
vstinner
authored
f87b85f
View commit details
Copy full SHA for f87b85f
View code at this point
Browse repository at this point
Commits on Feb 2, 2017
Issue #29300: Convert _struct module to Argument Clinic
Show description for 3f2d101
vstinner
committed
3f2d101
View commit details
Copy full SHA for 3f2d101
View code at this point
Browse repository at this point
Commits on Nov 10, 2016
Issue #28635: Fix a couple of missing/incorrect versionchanged tags
Show description for 3479b5f
Yury Selivanov
committed
3479b5f
View commit details
Copy full SHA for 3479b5f
View code at this point
Browse repository at this point
Commits on Sep 3, 2016
Issue #11734: Add support for IEEE 754 half-precision floats to the struct module. Original patch by Eli Stevens.
mdickinson
committed
7c4e409
View commit details
Copy full SHA for 7c4e409
View code at this point
Browse repository at this point
Commits on Jun 11, 2016
Issue #22558: Add remaining doc links to source code for Python-coded modules.
Show description for fa089b9
terryjreedy
committed
fa089b9
View commit details
Copy full SHA for fa089b9
View code at this point
Browse repository at this point
Commits on Apr 15, 2016
Issue #26535: Correct docs regarding the struct buffer size
vadmium
committed
b030991
View commit details
Copy full SHA for b030991
View code at this point
Browse repository at this point
Commits on Oct 31, 2014
#22613: explain what "buffer" is in the struct documentation (thanks Jacques Ducasse)
birkenfeld
committed
f30132f
View commit details
Copy full SHA for f30132f
View code at this point
Browse repository at this point
Commits on Nov 29, 2013
Issue #19795: Improved markup of True/False constants.
serhiy-storchaka
committed
0e90e99
View commit details
Copy full SHA for 0e90e99
View code at this point
Browse repository at this point
Issue #19795: Improved markup of True/False constants.
serhiy-storchaka
committed
fbc1c26
View commit details
Copy full SHA for fbc1c26
View code at this point
Browse repository at this point
Commits on Apr 26, 2013
Issue #17804: New function ``struct.iter_unpack`` allows for streaming struct unpacking.
pitrou
committed
9f14681
View commit details
Copy full SHA for 9f14681
View code at this point
Browse repository at this point
Commits on Oct 6, 2011
Issue #3163: The struct module gets new format characters 'n' and 'N'
Show description for 45d9c91
pitrou
committed
45d9c91
View commit details
Copy full SHA for 45d9c91
View code at this point
Browse repository at this point
Commits on Jul 17, 2011
Fix closes Issue11436 - Minor clarification to struct documentation for 's' format character.
orsenthil
committed
ad3882a
View commit details
Copy full SHA for ad3882a
View code at this point
Browse repository at this point
Commits on Dec 28, 2010
Issue #10783: struct.pack() doesn't encode implicitly unicode to UTF-8
Show description for da9ec99
Victor Stinner
committed
da9ec99
View commit details
Copy full SHA for da9ec99
View code at this point
Browse repository at this point
Commits on Oct 15, 2010
Fixing some sphinx inline directives - detected using ``make check``.
orsenthil
committed
916bd38
View commit details
Copy full SHA for 916bd38
View code at this point
Browse repository at this point
Commits on Oct 6, 2010
Migrate to Sphinx 1.0 C language constructs.
birkenfeld
committed
60203b4
View commit details
Copy full SHA for 60203b4
View code at this point
Browse repository at this point
Commits on Jul 10, 2010
Emphasize role of count for Pascal string.
birkenfeld
committed
93eb42e
View commit details
Copy full SHA for 93eb42e
View code at this point
Browse repository at this point
Commits on Jun 29, 2010
Merged revisions 82379 via svnmerge from
Show description for 719e4e3
mdickinson
committed
719e4e3
View commit details
Copy full SHA for 719e4e3
View code at this point
Browse repository at this point
Commits on Jun 15, 2010
Merged revisions 81992 via svnmerge from
Show description for cb532f1
mdickinson
committed
cb532f1
View commit details
Copy full SHA for cb532f1
View code at this point
Browse repository at this point
Commits on Jun 12, 2010
Issue #8469: Reorder struct module sections for clarity; other minor tweaks.
mdickinson
committed
cfd56f2
View commit details
Copy full SHA for cfd56f2
View code at this point
Browse repository at this point
Issue #8469: add standard sizes to struct docs table.
mdickinson
committed
7a70b2c
View commit details
Copy full SHA for 7a70b2c
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.