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 }}
xiaolanpython
/
cpython
Public
forked from
python/cpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Modules
_heapqmodule.c
on
2.4
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 27, 2006
[Backport of rev. 42093 by neal.norwitz]
Show description for e703122
akuchling
committed
e703122
View commit details
Copy full SHA for e703122
View code at this point
Browse repository at this point
Commits on Sep 28, 2004
Plug a leak and beef-up test coverage.
rhettinger
committed
855d9a9
View commit details
Copy full SHA for 855d9a9
View code at this point
Browse repository at this point
Commits on Sep 6, 2004
Fix erroneous docstring comment.
rhettinger
committed
8158e84
View commit details
Copy full SHA for 8158e84
View code at this point
Browse repository at this point
Commits on Jun 20, 2004
Improve the documented advice on how to best use heapq.heapreplace().
rhettinger
committed
28224f8
View commit details
Copy full SHA for 28224f8
View code at this point
Browse repository at this point
Commits on Jun 15, 2004
Reverse argument order for nsmallest() and nlargest().
Show description for aefde43
rhettinger
committed
aefde43
View commit details
Copy full SHA for aefde43
View code at this point
Browse repository at this point
Commits on Jun 13, 2004
Fixup error exits in nlargest() and nsmallest().
rhettinger
committed
de72edd
View commit details
Copy full SHA for de72edd
View code at this point
Browse repository at this point
Install C version of heapq.nsmallest().
rhettinger
committed
2e3dfaf
View commit details
Copy full SHA for 2e3dfaf
View code at this point
Browse repository at this point
Commits on Jun 12, 2004
Install C version of heapq.nlargest().
Show description for c929766
rhettinger
committed
c929766
View commit details
Copy full SHA for c929766
View code at this point
Browse repository at this point
Commits on Apr 25, 2004
Correct the file name of _heapq module.
hyeshik
committed
ce97fbe
View commit details
Copy full SHA for ce97fbe
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.