Results of 1 - 10 of about 23 for shallow (0.003 sec.)
- filecmp --- ファイルとディレクトリの比較 — Python 3.14.8 ドキュメント 12266
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » filecmp --- ファイルとディレクトリの比較 テーマ 自動 ライト ダーク | filecmp --- ファイルとディ
...comparing files, see also the difflib module. The filecmp module defines the following functions: filecmp. cmp ( f1 , f2 , shallow = True ) ¶ 名前が f1 および f2 のファイルを比較し、二つのファイルが同じらしければ True を返し、そうでなければ False を返し...ます。 If shallow is true and the os.stat() signatures (file type, size, and modification time) of both files are identical, the files are t...の項目は無効化されます。 clear_cache() を使用して全キャッシュを削除することが出来ます。 filecmp. cmpfiles ( a , b , common , shallow = True ) ¶ Compare the files in the two directories a and b whose names are given by common . ファイル名からなる3つのリスト... - https://man.mtool.work/python/3.14/library/filecmp.html
- filecmp --- ファイルとディレクトリの比較 — Python 3.14.8 ドキュメント 12266
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » filecmp --- ファイルとディレクトリの比較 テーマ 自動 ライト ダーク | filecmp --- ファイルとディ
...comparing files, see also the difflib module. The filecmp module defines the following functions: filecmp. cmp ( f1 , f2 , shallow = True ) ¶ 名前が f1 および f2 のファイルを比較し、二つのファイルが同じらしければ True を返し、そうでなければ False を返し...ます。 If shallow is true and the os.stat() signatures (file type, size, and modification time) of both files are identical, the files are t...の項目は無効化されます。 clear_cache() を使用して全キャッシュを削除することが出来ます。 filecmp. cmpfiles ( a , b , common , shallow = True ) ¶ Compare the files in the two directories a and b whose names are given by common . ファイル名からなる3つのリスト... - https://man.mtool.work/python/3.14/library/filecmp.html
- copy --- 浅いコピーおよび深いコピー操作 — Python 3.14.8 ドキュメント 11629
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » copy --- 浅いコピーおよび深いコピー操作 テーマ 自動 ライト ダーク | copy --- 浅いコピーおよび深いコピー操作 ¶ ソースコー
...元のオブジェクトを変更せずにコピーを変更できるように、コピーが必要になることが時々あります。このモジュールは、汎用的な浅い (shallow) コピーと深い (deep) コピーの操作 (以下で説明されます) を提供します。 以下にインターフェースをまとめます: copy. copy ( obj...) ¶ obj の浅い (shallow) コピーを返します。 copy. deepcopy ( obj [ , memo ] ) ¶ obj の深い (deep) コピーを返します。 copy. replace ( obj , / , **...ields with values from changes . Added in version 3.13. exception copy. Error ¶ モジュール特有のエラーを送出します。 浅い (shallow) コピーと深い (deep) コピーの違いが関係するのは、複合オブジェクト (リストやクラスインスタンスのような他のオブジェクトを含む... - https://man.mtool.work/python/3.14/library/copy.html
- copy --- 浅いコピーおよび深いコピー操作 — Python 3.14.8 ドキュメント 11629
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » copy --- 浅いコピーおよび深いコピー操作 テーマ 自動 ライト ダーク | copy --- 浅いコピーおよび深いコピー操作 ¶ ソースコー
...元のオブジェクトを変更せずにコピーを変更できるように、コピーが必要になることが時々あります。このモジュールは、汎用的な浅い (shallow) コピーと深い (deep) コピーの操作 (以下で説明されます) を提供します。 以下にインターフェースをまとめます: copy. copy ( obj...) ¶ obj の浅い (shallow) コピーを返します。 copy. deepcopy ( obj [ , memo ] ) ¶ obj の深い (deep) コピーを返します。 copy. replace ( obj , / , **...ields with values from changes . Added in version 3.13. exception copy. Error ¶ モジュール特有のエラーを送出します。 浅い (shallow) コピーと深い (deep) コピーの違いが関係するのは、複合オブジェクト (リストやクラスインスタンスのような他のオブジェクトを含む... - https://man.mtool.work/python/3.14/library/copy.html
- Thread Safety Guarantees — Python 3.14.8 ドキュメント 8529
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui
...t1 + lst2 # concatenates two lists into a new list x * lst # repeats lst x times into a new list lst . copy () # returns a shallow copy of the list The following methods that only operate on a single element with no shifting required are atomic : lst ....wing operations return new objects and hold the per-object lock for the duration of the operation: d . copy () # returns a shallow copy of the dictionary d | other # merges two dicts into a new dict d . keys () # returns a new dict_keys view object d ....locked The following operations return new objects and hold the per-object lock for the duration: ba . copy () # returns a shallow copy ba * n # repeat into new bytearray The membership test holds the lock for its duration: x in ba # bytearray.__contain... - https://man.mtool.work/python/3.14/builtins/threadsafety.html
- Thread Safety Guarantees — Python 3.14.8 ドキュメント 8529
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » Thread Safety Guarantees テーマ 自動 ライト ダーク | Thread Safety Guarantees ¶ This page documents thread-safety guarantees for bui
...t1 + lst2 # concatenates two lists into a new list x * lst # repeats lst x times into a new list lst . copy () # returns a shallow copy of the list The following methods that only operate on a single element with no shifting required are atomic : lst ....wing operations return new objects and hold the per-object lock for the duration of the operation: d . copy () # returns a shallow copy of the dictionary d | other # merges two dicts into a new dict d . keys () # returns a new dict_keys view object d ....locked The following operations return new objects and hold the per-object lock for the duration: ba . copy () # returns a shallow copy ba * n # repeat into new bytearray The membership test holds the lock for its duration: x in ba # bytearray.__contain... - https://man.mtool.work/python/3.14/builtins/threadsafety.html
- dataclasses --- データクラス — Python 3.14.8 ドキュメント 7775
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » dataclasses --- データクラス テーマ 自動 ライト ダーク | dataclasses --- データクラス ¶ ソースコード: L
..., 0 ), Point ( 10 , 4 )]) assert asdict ( c ) == { 'mylist' : [{ 'x' : 0 , 'y' : 0 }, { 'x' : 10 , 'y' : 4 }]} To create a shallow copy, the following workaround may be used: { field . name : getattr ( obj , field . name ) for field in fields ( obj )} a.... 1つ前の例の続きです: assert astuple ( p ) == ( 10 , 20 ) assert astuple ( c ) == ([( 0 , 0 ), ( 10 , 4 )],) To create a shallow copy, the following workaround may be used: tuple ( getattr ( obj , field . name ) for field in dataclasses . fields ( obj... - https://man.mtool.work/python/3.14/library/dataclasses.html
- dataclasses --- データクラス — Python 3.14.8 ドキュメント 7775
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » dataclasses --- データクラス テーマ 自動 ライト ダーク | dataclasses --- データクラス ¶ ソースコード: L
..., 0 ), Point ( 10 , 4 )]) assert asdict ( c ) == { 'mylist' : [{ 'x' : 0 , 'y' : 0 }, { 'x' : 10 , 'y' : 4 }]} To create a shallow copy, the following workaround may be used: { field . name : getattr ( obj , field . name ) for field in fields ( obj )} a.... 1つ前の例の続きです: assert astuple ( p ) == ( 10 , 20 ) assert astuple ( c ) == ([( 0 , 0 ), ( 10 , 4 )],) To create a shallow copy, the following workaround may be used: tuple ( getattr ( obj , field . name ) for field in dataclasses . fields ( obj... - https://man.mtool.work/python/3.14/library/dataclasses.html
- Pythonモジュール索引 — Python 3.14.8 ドキュメント 7674
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pythonモジュール索引 テーマ 自動 ライト ダーク | Pythonモジュール索引 _ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | z _ _
...nfigparser Configuration file parser. contextlib Utilities for with-statement contexts. contextvars Context Variables copy Shallow and deep copy operations. copyreg Register pickle support functions. cProfile crypt 非推奨: Removed in 3.13. csv Write and... - https://man.mtool.work/python/3.14/py-modindex.html
- Pythonモジュール索引 — Python 3.14.8 ドキュメント 7674
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pythonモジュール索引 テーマ 自動 ライト ダーク | Pythonモジュール索引 _ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | z _ _
...nfigparser Configuration file parser. contextlib Utilities for with-statement contexts. contextvars Context Variables copy Shallow and deep copy operations. copyreg Register pickle support functions. cProfile crypt 非推奨: Removed in 3.13. csv Write and... - https://man.mtool.work/python/3.14/py-modindex.html