Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
a1403487
Kaydet (Commit)
a1403487
authored
Eki 12, 2013
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Invert logic of new limited-API annotation and call it "stable ABI".
üst
f54ab1f5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
c_annotations.py
Doc/tools/sphinxext/c_annotations.py
+6
-6
pydoctheme.css
Doc/tools/sphinxext/pydoctheme/static/pydoctheme.css
+2
-2
No files found.
Doc/tools/sphinxext/c_annotations.py
Dosyayı görüntüle @
a1403487
...
...
@@ -73,10 +73,10 @@ class Annotations(dict):
par
=
node
.
parent
if
par
[
'domain'
]
!=
'c'
:
continue
if
par
[
'
notlimited
'
]:
node
.
insert
(
0
,
nodes
.
emphasis
(
'
Not part of the stable AP
I.'
,
'
Not part of the stable AP
I.'
,
classes
=
[
'
notlimited
'
]))
if
par
[
'
stableabi
'
]:
node
.
insert
(
0
,
nodes
.
emphasis
(
'
Part of the stable AB
I.'
,
'
Part of the stable AB
I.'
,
classes
=
[
'
stableabi
'
]))
if
par
[
'objtype'
]
!=
'function'
:
continue
if
not
par
[
0
]
.
has_key
(
'names'
)
or
not
par
[
0
][
'names'
]:
...
...
@@ -108,10 +108,10 @@ def setup(app):
# monkey-patch C object...
CObject
.
option_spec
=
{
'noindex'
:
directives
.
flag
,
'
notlimited
'
:
directives
.
flag
,
'
stableabi
'
:
directives
.
flag
,
}
old_handle_signature
=
CObject
.
handle_signature
def
new_handle_signature
(
self
,
sig
,
signode
):
signode
.
parent
[
'
notlimited'
]
=
'notlimited
'
in
self
.
options
signode
.
parent
[
'
stableabi'
]
=
'stableabi
'
in
self
.
options
return
old_handle_signature
(
self
,
sig
,
signode
)
CObject
.
handle_signature
=
new_handle_signature
Doc/tools/sphinxext/pydoctheme/static/pydoctheme.css
Dosyayı görüntüle @
a1403487
...
...
@@ -173,6 +173,6 @@ div.footer a:hover {
color
:
#060
;
}
.
notlimited
{
color
:
#
922
;
.
stableabi
{
color
:
#
229
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment