Results of 1 - 10 of about 216 for replace (0.062 sec.)
- Pending removal in Python 3.18 — Python 3.14.8 ドキュメント 12419
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pending removal in Python 3.18 テーマ 自動 ライト ダーク | Pending removal in Python 3.18 ¶ The following private functions are deprecated and planned for removal in Python 3.
...eckedGet() : use PyThreadState_GetUnchecked() . _PyUnicode_AsString() : use PyUnicode_AsUTF8() . _PyUnicodeWriter_Init() : replace _PyUnicodeWriter_Init(&writer) with writer = PyUnicodeWriter_Create(0) . _PyUnicodeWriter_Finish() : replace _PyUnicodeWri...ter_Finish(&writer) with PyUnicodeWriter_Finish(writer) . _PyUnicodeWriter_Dealloc() : replace _PyUnicodeWriter_Dealloc(&writer) with PyUnicodeWriter_Discard(writer) . _PyUnicodeWriter_WriteChar() : replace _PyUnicode...Writer_WriteChar(&writer, ch) with PyUnicodeWriter_WriteChar(writer, ch) . _PyUnicodeWriter_WriteStr() : replace _PyUnicodeWriter_WriteStr(&writer, str) with PyUnicodeWriter_WriteStr(writer, str) . _PyUnicodeWriter_WriteSubstring() : r... - https://man.mtool.work/python/3.14/deprecations/c-api-pending-removal-in-3.18.ht...
- Pending removal in Python 3.18 — Python 3.14.8 ドキュメント 12325
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pending removal in Python 3.18 テーマ 自動 ライト ダーク | Pending removal in Python 3.18 ¶ The following private functions are deprecated and planned for removal in Python 3.
...eckedGet() : use PyThreadState_GetUnchecked() . _PyUnicode_AsString() : use PyUnicode_AsUTF8() . _PyUnicodeWriter_Init() : replace _PyUnicodeWriter_Init(&writer) with writer = PyUnicodeWriter_Create(0) . _PyUnicodeWriter_Finish() : replace _PyUnicodeWri...ter_Finish(&writer) with PyUnicodeWriter_Finish(writer) . _PyUnicodeWriter_Dealloc() : replace _PyUnicodeWriter_Dealloc(&writer) with PyUnicodeWriter_Discard(writer) . _PyUnicodeWriter_WriteChar() : replace _PyUnicode...Writer_WriteChar(&writer, ch) with PyUnicodeWriter_WriteChar(writer, ch) . _PyUnicodeWriter_WriteStr() : replace _PyUnicodeWriter_WriteStr(&writer, str) with PyUnicodeWriter_WriteStr(writer, str) . _PyUnicodeWriter_WriteSubstring() : r... - https://man.mtool.work/python/3.14/deprecations/c-api-pending-removal-in-3.18.ht...
- 変更履歴 — Python 3.14.8 ドキュメント 9543
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...member of the archive, skip the member when the filter function returns None when called with the extracted member's name replaced with the link's. Core and Builtins ¶ gh-158583 : bytes.fromhex() and bytearray.fromhex() : Fix uninitialized memory read....tecode array grows or gains entries after being cached. gh-157672 : Fix tkinter on macOS: creating a Tk instance no longer replaces the Python handlers of SIGINT, SIGHUP and SIGTERM with Tk's handler which exits the process, so Ctrl-C raises KeyboardInt...rable. Patch by Donghee Na. gh-152228 : Fix an assertion failure when python is built in a debug mode that happened in str.replace() under a limited memory situation. gh-151763 : Fixes possible crash on types.CodeType deallocation. gh-152020 : On the fr... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- What's New In Python 3.13 — Python 3.14.8 ドキュメント 8157
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.13 テーマ 自動 ライト ダーク | What's New In Python 3.13 ¶ エディタ : Adam Turner と Thomas Wouters この記事では Py
...Z85 data のエンコード・デコードを行う関数 base64.z85encode() と base64.z85decode() が追加されました。 多くの組み込み型や __replace__() メソッドを定義している任意のクラスに対して使用できる関数 copy.replace() が copy モジュールに追加されました。 dbm.sqlit...d() os.fork() os.forkpty() subprocess.Popen (Contributed by Victor Stinner in gh-114570 .) Allow the count argument of str.replace() to be a keyword. (Contributed by Hugo van Kemenade in gh-106487 .) Many functions now emit a warning if a boolean value...be enabled with the new allow_unnamed_section parameter. (Contributed by Pedro Sousa Lacerda in gh-66449 .) copy ¶ The new replace() function and the replace protocol make creating modified copies of objects much simpler. This is especially useful when... - https://man.mtool.work/python/3.14/whatsnew/3.13.html
- What's New In Python 3.13 — Python 3.14.8 ドキュメント 8157
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.13 テーマ 自動 ライト ダーク | What's New In Python 3.13 ¶ エディタ : Adam Turner と Thomas Wouters この記事では Py
...Z85 data のエンコード・デコードを行う関数 base64.z85encode() と base64.z85decode() が追加されました。 多くの組み込み型や __replace__() メソッドを定義している任意のクラスに対して使用できる関数 copy.replace() が copy モジュールに追加されました。 dbm.sqlit...d() os.fork() os.forkpty() subprocess.Popen (Contributed by Victor Stinner in gh-114570 .) Allow the count argument of str.replace() to be a keyword. (Contributed by Hugo van Kemenade in gh-106487 .) Many functions now emit a warning if a boolean value...be enabled with the new allow_unnamed_section parameter. (Contributed by Pedro Sousa Lacerda in gh-66449 .) copy ¶ The new replace() function and the replace protocol make creating modified copies of objects much simpler. This is especially useful when... - https://man.mtool.work/python/3.14/whatsnew/3.13.html
- datetime --- 基本的な日付と時間の型 — Python 3.14.8 ドキュメント 7863
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » datetime --- 基本的な日付と時間の型 テーマ 自動 ライト ダーク | datetime --- 基本的な日付と時間の型 ¶ ソースコード: Lib/
...ethods in subclasses. ブール演算コンテキストでは、全ての time オブジェクトは真とみなされます。 インスタンスメソッド: date. replace ( year = self.year , month = self.month , day = self.day ) ¶ Return a new date object with the same values, but with speci...fied parameters updated. 以下はプログラム例です: >>> import datetime as dt >>> d = dt . date ( 2002 , 12 , 31 ) >>> d . replace ( day = 26 ) datetime.date(2002, 12, 26) The generic function copy.replace() also supports date objects. date. timetuple (...)) True >>> my_birthday = dt . date ( today . year , 6 , 24 ) >>> if my_birthday < today : ... my_birthday = my_birthday . replace ( year = today . year + 1 ) ... >>> my_birthday datetime.date(2008, 6, 24) >>> time_to_birthday = abs ( my_birthday - toda... - https://man.mtool.work/python/3.14/library/datetime.html
- datetime --- 基本的な日付と時間の型 — Python 3.14.8 ドキュメント 7863
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » datetime --- 基本的な日付と時間の型 テーマ 自動 ライト ダーク | datetime --- 基本的な日付と時間の型 ¶ ソースコード: Lib/
...ethods in subclasses. ブール演算コンテキストでは、全ての time オブジェクトは真とみなされます。 インスタンスメソッド: date. replace ( year = self.year , month = self.month , day = self.day ) ¶ Return a new date object with the same values, but with speci...fied parameters updated. 以下はプログラム例です: >>> import datetime as dt >>> d = dt . date ( 2002 , 12 , 31 ) >>> d . replace ( day = 26 ) datetime.date(2002, 12, 26) The generic function copy.replace() also supports date objects. date. timetuple (...)) True >>> my_birthday = dt . date ( today . year , 6 , 24 ) >>> if my_birthday < today : ... my_birthday = my_birthday . replace ( year = today . year + 1 ) ... >>> my_birthday datetime.date(2008, 6, 24) >>> time_to_birthday = abs ( my_birthday - toda... - https://man.mtool.work/python/3.14/library/datetime.html
- 非推奨 — Python 3.14.8 ドキュメント 7359
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » 非推奨 テーマ 自動 ライト ダーク | 非推奨 ¶ Pending removal in Python 3.15 ¶ The import system: Setting __cached__ on a module while failing to set __spec__.cach
...on 3.13. http.server : The obsolete and rarely used CGIHTTPRequestHandler has been deprecated since Python 3.13. No direct replacement exists. Anything is better than CGI to interface a web server with a request handler. The --cgi flag to the python -m...ributed by Serhiy Storchaka in gh-109218 .) calendar : calendar.January and calendar.February constants are deprecated and replaced by calendar.JANUARY and calendar.FEBRUARY . (Contributed by Prince Roshan in gh-103636 .) codecs : use open() instead of...expressions. Only sequence of ASCII digits is now accepted as a numerical reference. The group name in bytes patterns and replacement strings can now only contain ASCII letters and digits and underscore. (Contributed by Serhiy Storchaka in gh-91760 .)... - https://man.mtool.work/python/3.14/deprecations/
- copy --- 浅いコピーおよび深いコピー操作 — Python 3.14.8 ドキュメント 7359
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » copy --- 浅いコピーおよび深いコピー操作 テーマ 自動 ライト ダーク | copy --- 浅いコピーおよび深いコピー操作 ¶ ソースコー
...) ¶ obj の浅い (shallow) コピーを返します。 copy. deepcopy ( obj [ , memo ] ) ¶ obj の深い (deep) コピーを返します。 copy. replace ( obj , / , ** changes ) ¶ Creates a new object of the same type as obj , replacing fields with values from changes . Adde...ument and the memo dictionary as second argument. The memo dictionary should be treated as an opaque object. Function copy.replace() is more limited than copy() and deepcopy() , and only supports named tuples created by namedtuple() , dataclasses , and...other classes which define method __replace__() . object. __replace__ ( self , / , ** changes ) ¶ This method should create a new object of the same type, replacing f... - https://man.mtool.work/python/3.14/library/copy.html
- 非推奨 — Python 3.14.8 ドキュメント 7359
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » 非推奨 テーマ 自動 ライト ダーク | 非推奨 ¶ Pending removal in Python 3.15 ¶ The import system: Setting __cached__ on a module while failing to set __spec__.cach
...on 3.13. http.server : The obsolete and rarely used CGIHTTPRequestHandler has been deprecated since Python 3.13. No direct replacement exists. Anything is better than CGI to interface a web server with a request handler. The --cgi flag to the python -m...ributed by Serhiy Storchaka in gh-109218 .) calendar : calendar.January and calendar.February constants are deprecated and replaced by calendar.JANUARY and calendar.FEBRUARY . (Contributed by Prince Roshan in gh-103636 .) codecs : use open() instead of...expressions. Only sequence of ASCII digits is now accepted as a numerical reference. The group name in bytes patterns and replacement strings can now only contain ASCII letters and digits and underscore. (Contributed by Serhiy Storchaka in gh-91760 .)... - https://man.mtool.work/python/3.14/deprecations/