Skip to content

Commit 35ad210

Browse files
committed
library/constants.po, library/getpass.po, library/bisect.po çevirileri
Üç kütüphane referans dosyasının Türkçe çevirisini tamamlar: - library/constants.po: Yerleşik sabitler (True, False, None, vb.) - library/getpass.po: Taşınabilir parola girişi modülü - library/bisect.po: Dizi ikiye bölme algoritması modülü Closes #222, Closes #223, Closes #224
1 parent caa8b1e commit 35ad210

File tree

3 files changed

+177
-19
lines changed

3 files changed

+177
-19
lines changed

library/bisect.po

Lines changed: 90 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ msgstr ""
1818

1919
#: library/bisect.rst:2
2020
msgid ":mod:`!bisect` --- Array bisection algorithm"
21-
msgstr ""
21+
msgstr ":mod:`!bisect` --- Dizi ikiye bölme algoritması"
2222

2323
#: library/bisect.rst:10
2424
msgid "**Source code:** :source:`Lib/bisect.py`"
25-
msgstr ""
25+
msgstr "**Kaynak kodu:** :source:`Lib/bisect.py`"
2626

2727
#: library/bisect.rst:14
2828
msgid ""
@@ -31,6 +31,10 @@ msgid ""
3131
"expensive comparison operations, this can be an improvement over linear "
3232
"searches or frequent resorting."
3333
msgstr ""
34+
"Bu modül, her eklemeden sonra listeyi yeniden sıralamak zorunda kalmadan "
35+
"bir listeyi sıralı düzende tutmak için destek sağlar. Maliyetli "
36+
"karşılaştırma işlemlerine sahip uzun öğe listeleri için bu, doğrusal "
37+
"aramalara veya sık sık yeniden sıralamaya göre bir iyileştirme olabilir."
3438

3539
#: library/bisect.rst:19
3640
msgid ""
@@ -42,10 +46,17 @@ msgid ""
4246
"functions only call the :meth:`~object.__lt__` method and will return an "
4347
"insertion point between values in an array."
4448
msgstr ""
49+
"Bu modül, işini yapmak için temel bir ikiye bölme algoritması kullandığı "
50+
"için :mod:`bisect` olarak adlandırılmıştır. Belirli bir değeri arayan diğer "
51+
"ikiye bölme araçlarının aksine, bu modüldeki fonksiyonlar bir ekleme noktası "
52+
"bulmak için tasarlanmıştır. Buna göre fonksiyonlar, bir değerin bulunup "
53+
"bulunmadığını belirlemek için hiçbir zaman :meth:`~object.__eq__` metodunu "
54+
"çağırmaz. Bunun yerine fonksiyonlar yalnızca :meth:`~object.__lt__` metodunu "
55+
"çağırır ve dizideki değerler arasında bir ekleme noktası döndürür."
4556

4657
#: library/bisect.rst:29
4758
msgid "The following functions are provided:"
48-
msgstr ""
59+
msgstr "Aşağıdaki fonksiyonlar sağlanmaktadır:"
4960

5061
#: library/bisect.rst:34
5162
msgid ""
@@ -56,6 +67,13 @@ msgid ""
5667
"existing entries. The return value is suitable for use as the first "
5768
"parameter to ``list.insert()`` assuming that *a* is already sorted."
5869
msgstr ""
70+
"Sıralı düzeni korumak için *a*'da *x* için ekleme noktasını bulur. *lo* "
71+
"ve *hi* parametreleri, dikkate alınması gereken listenin bir alt kümesini "
72+
"belirtmek için kullanılabilir; varsayılan olarak listenin tamamı kullanılır. "
73+
"*x*, *a*'da zaten mevcutsa, ekleme noktası mevcut girdilerin önünde "
74+
"(solunda) olacaktır. Dönüş değeri, *a*'nın zaten sıralı olduğu "
75+
"varsayılarak ``list.insert()`` fonksiyonunun ilk parametresi olarak "
76+
"kullanılmaya uygundur."
5977

6078
#: library/bisect.rst:41
6179
msgid ""
@@ -64,29 +82,40 @@ msgid ""
6482
"slice and ``all(elem >= x for elem in a[ip : hi])`` is true for the right "
6583
"slice."
6684
msgstr ""
85+
"Döndürülen ekleme noktası *ip*, *a* dizisini iki dilime ayırır; "
86+
"sol dilim için ``all(elem < x for elem in a[lo : ip])`` ve "
87+
"sağ dilim için ``all(elem >= x for elem in a[ip : hi])`` doğrudur."
6788

6889
#: library/bisect.rst:46
6990
msgid ""
7091
"*key* specifies a :term:`key function` of one argument that is used to "
7192
"extract a comparison key from each element in the array. To support "
7293
"searching complex records, the key function is not applied to the *x* value."
7394
msgstr ""
95+
"*key*, dizideki her öğeden bir karşılaştırma anahtarı çıkarmak için "
96+
"kullanılan tek argümanlı bir :term:`key function` (anahtar fonksiyonu) "
97+
"belirtir. Karmaşık kayıtlarda aramayı desteklemek için anahtar fonksiyonu "
98+
"*x* değerine uygulanmaz."
7499

75100
#: library/bisect.rst:50
76101
msgid ""
77102
"If *key* is ``None``, the elements are compared directly and no key function "
78103
"is called."
79104
msgstr ""
105+
"*key* ``None`` ise, öğeler doğrudan karşılaştırılır ve anahtar fonksiyonu "
106+
"çağrılmaz."
80107

81108
#: library/bisect.rst:67 library/bisect.rst:105
82109
msgid "Added the *key* parameter."
83-
msgstr ""
110+
msgstr "*key* parametresi eklendi."
84111

85112
#: library/bisect.rst:60
86113
msgid ""
87114
"Similar to :py:func:`~bisect.bisect_left`, but returns an insertion point "
88115
"which comes after (to the right of) any existing entries of *x* in *a*."
89116
msgstr ""
117+
":py:func:`~bisect.bisect_left` ile benzerdir, ancak *a*'daki mevcut "
118+
"*x* girdilerinin sonrasında (sağında) bir ekleme noktası döndürür."
90119

91120
#: library/bisect.rst:63
92121
msgid ""
@@ -95,64 +124,87 @@ msgid ""
95124
"slice and ``all(elem > x for elem in a[ip : hi])`` is true for the right "
96125
"slice."
97126
msgstr ""
127+
"Döndürülen ekleme noktası *ip*, *a* dizisini iki dilime ayırır; "
128+
"sol dilim için ``all(elem <= x for elem in a[lo : ip])`` ve "
129+
"sağ dilim için ``all(elem > x for elem in a[ip : hi])`` doğrudur."
98130

99131
#: library/bisect.rst:73
100132
msgid "Insert *x* in *a* in sorted order."
101-
msgstr ""
133+
msgstr "*x*'i *a*'ya sıralı düzende ekler."
102134

103135
#: library/bisect.rst:75
104136
msgid ""
105137
"This function first runs :py:func:`~bisect.bisect_left` to locate an "
106138
"insertion point. Next, it runs the :meth:`!insert` method on *a* to insert "
107139
"*x* at the appropriate position to maintain sort order."
108140
msgstr ""
141+
"Bu fonksiyon önce bir ekleme noktası bulmak için "
142+
":py:func:`~bisect.bisect_left` çalıştırır. Ardından, sıralama düzenini "
143+
"korumak için *a* üzerinde :meth:`!insert` metodunu çalıştırarak *x*'i "
144+
"uygun konuma ekler."
109145

110146
#: library/bisect.rst:99
111147
msgid ""
112148
"To support inserting records in a table, the *key* function (if any) is "
113149
"applied to *x* for the search step but not for the insertion step."
114150
msgstr ""
151+
"Bir tabloya kayıt eklemeyi desteklemek için, *key* fonksiyonu (varsa) "
152+
"arama adımında *x*'e uygulanır ancak ekleme adımında uygulanmaz."
115153

116154
#: library/bisect.rst:102
117155
msgid ""
118156
"Keep in mind that the *O*\\ (log *n*) search is dominated by the slow *O*\\ "
119157
"(*n*) insertion step."
120158
msgstr ""
159+
"*O*\\ (log *n*) aramanın, yavaş *O*\\ (*n*) ekleme adımı tarafından "
160+
"baskılandığını unutmayın."
121161

122162
#: library/bisect.rst:92
123163
msgid ""
124164
"Similar to :py:func:`~bisect.insort_left`, but inserting *x* in *a* after "
125165
"any existing entries of *x*."
126166
msgstr ""
167+
":py:func:`~bisect.insort_left` ile benzerdir, ancak *x*'i *a*'daki "
168+
"mevcut *x* girdilerinin sonrasına ekler."
127169

128170
#: library/bisect.rst:95
129171
msgid ""
130172
"This function first runs :py:func:`~bisect.bisect_right` to locate an "
131173
"insertion point. Next, it runs the :meth:`!insert` method on *a* to insert "
132174
"*x* at the appropriate position to maintain sort order."
133175
msgstr ""
176+
"Bu fonksiyon önce bir ekleme noktası bulmak için "
177+
":py:func:`~bisect.bisect_right` çalıştırır. Ardından, sıralama düzenini "
178+
"korumak için *a* üzerinde :meth:`!insert` metodunu çalıştırarak *x*'i "
179+
"uygun konuma ekler."
134180

135181
#: library/bisect.rst:110
136182
msgid "Performance Notes"
137-
msgstr ""
183+
msgstr "Performans Notları"
138184

139185
#: library/bisect.rst:112
140186
msgid ""
141187
"When writing time sensitive code using *bisect()* and *insort()*, keep these "
142188
"thoughts in mind:"
143189
msgstr ""
190+
"*bisect()* ve *insort()* kullanarak zamana duyarlı kod yazarken şu "
191+
"hususları aklınızda tutun:"
144192

145193
#: library/bisect.rst:115
146194
msgid ""
147195
"Bisection is effective for searching ranges of values. For locating specific "
148196
"values, dictionaries are more performant."
149197
msgstr ""
198+
"İkiye bölme, değer aralıklarını aramak için etkilidir. Belirli değerleri "
199+
"bulmak için sözlükler daha performanslıdır."
150200

151201
#: library/bisect.rst:118
152202
msgid ""
153203
"The *insort()* functions are *O*\\ (*n*) because the logarithmic search step "
154204
"is dominated by the linear time insertion step."
155205
msgstr ""
206+
"*insort()* fonksiyonları *O*\\ (*n*)'dir çünkü logaritmik arama adımı, "
207+
"doğrusal zamanlı ekleme adımı tarafından baskılanır."
156208

157209
#: library/bisect.rst:121
158210
msgid ""
@@ -164,13 +216,24 @@ msgid ""
164216
"searching an array of precomputed keys to locate the insertion point (as "
165217
"shown in the examples section below)."
166218
msgstr ""
219+
"Arama fonksiyonları durum bilgisi taşımaz ve anahtar fonksiyonu sonuçlarını "
220+
"kullanıldıktan sonra atar. Sonuç olarak, arama fonksiyonları bir döngüde "
221+
"kullanılırsa, anahtar fonksiyonu aynı dizi öğeleri üzerinde tekrar tekrar "
222+
"çağrılabilir. Anahtar fonksiyonu hızlı değilse, yinelenen hesaplamalardan "
223+
"kaçınmak için :py:func:`functools.cache` ile sarmalamanızı düşünün. "
224+
"Alternatif olarak, ekleme noktasını bulmak için önceden hesaplanmış "
225+
"anahtarlardan oluşan bir dizi aramayı düşünün (aşağıdaki örnekler "
226+
"bölümünde gösterildiği gibi)."
167227

168228
#: library/bisect.rst:131
169229
msgid ""
170230
"`Sorted Collections <https://grantjenks.com/docs/sortedcollections/>`_ is a "
171231
"high performance module that uses *bisect* to managed sorted collections of "
172232
"data."
173233
msgstr ""
234+
"`Sorted Collections <https://grantjenks.com/docs/sortedcollections/>`_, "
235+
"sıralı veri koleksiyonlarını yönetmek için *bisect* kullanan yüksek "
236+
"performanslı bir modüldür."
174237

175238
#: library/bisect.rst:135
176239
msgid ""
@@ -180,10 +243,15 @@ msgid ""
180243
"keys are precomputed to save unnecessary calls to the key function during "
181244
"searches."
182245
msgstr ""
246+
"`SortedCollection tarifi <https://code.activestate.com/recipes/577197-"
247+
"sortedcollection/>`_, doğrudan arama yöntemleri ve anahtar fonksiyonu "
248+
"desteğine sahip tam özellikli bir koleksiyon sınıfı oluşturmak için bisect "
249+
"kullanır. Aramalar sırasında anahtar fonksiyonuna gereksiz çağrılardan "
250+
"tasarruf etmek için anahtarlar önceden hesaplanır."
183251

184252
#: library/bisect.rst:143
185253
msgid "Searching Sorted Lists"
186-
msgstr ""
254+
msgstr "Sıralı Listelerde Arama"
187255

188256
#: library/bisect.rst:145
189257
msgid ""
@@ -192,6 +260,10 @@ msgid ""
192260
"five functions show how to transform them into the standard lookups for "
193261
"sorted lists::"
194262
msgstr ""
263+
"Yukarıdaki `bisect fonksiyonları`_ ekleme noktaları bulmak için yararlıdır "
264+
"ancak yaygın arama görevleri için kullanımı zor veya karmaşık olabilir. "
265+
"Aşağıdaki beş fonksiyon, bunların sıralı listeler için standart aramalara "
266+
"nasıl dönüştürüleceğini gösterir::"
195267

196268
#: library/bisect.rst:150
197269
msgid ""
@@ -233,7 +305,7 @@ msgstr ""
233305

234306
#: library/bisect.rst:187
235307
msgid "Examples"
236-
msgstr ""
308+
msgstr "Örnekler"
237309

238310
#: library/bisect.rst:191
239311
msgid ""
@@ -242,6 +314,10 @@ msgid ""
242314
"grade for an exam score (say) based on a set of ordered numeric breakpoints: "
243315
"90 and up is an 'A', 80 to 89 is a 'B', and so on::"
244316
msgstr ""
317+
":py:func:`~bisect.bisect` fonksiyonu sayısal tablo aramaları için yararlı "
318+
"olabilir. Bu örnek, sıralı sayısal kesme noktalarına dayalı olarak bir sınav "
319+
"puanı için harf notu aramak üzere :py:func:`~bisect.bisect` kullanır: "
320+
"90 ve üzeri 'A', 80 ile 89 arası 'B' ve bu şekilde devam eder::"
245321

246322
#: library/bisect.rst:196
247323
msgid ""
@@ -259,6 +335,9 @@ msgid ""
259335
"work with lists of tuples. The *key* argument can serve to extract the "
260336
"field used for ordering records in a table::"
261337
msgstr ""
338+
":py:func:`~bisect.bisect` ve :py:func:`~bisect.insort` fonksiyonları "
339+
"demet listeleriyle de çalışır. *key* argümanı, bir tablodaki kayıtları "
340+
"sıralamak için kullanılan alanı çıkarmaya yarayabilir::"
262341

263342
#: library/bisect.rst:207
264343
msgid ""
@@ -298,6 +377,9 @@ msgid ""
298377
"If the key function is expensive, it is possible to avoid repeated function "
299378
"calls by searching a list of precomputed keys to find the index of a record::"
300379
msgstr ""
380+
"Anahtar fonksiyonu maliyetliyse, bir kaydın dizinini bulmak için önceden "
381+
"hesaplanmış anahtarlardan oluşan bir listeyi arayarak yinelenen fonksiyon "
382+
"çağrılarından kaçınmak mümkündür::"
301383

302384
#: library/bisect.rst:240
303385
msgid ""

0 commit comments

Comments
 (0)