Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 22 for custom (0.028 sec.)
2. 拡張の型の定義: チュートリアル — Python 3.6.5 ドキュメント 15992
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ ... 見たほうが早いでしょうから、以下に C 拡張モジュール custom : にある Custom という名前の新しい型を定義する、最 ... yObject_HEAD /* Type-specific fields go here. */ } CustomObject ; static PyTypeObject CustomType = { PyVarOb ... ject_HEAD_INIT ( NULL , 0 ) . tp_name = "custom.Custom" , . tp_doc = "Custom objects" , . tp_basic ... size = sizeof ( CustomObject ), . tp_itemsize = 0 , . tp_flags = Py_TPFLA ...
https://man.plustar.jp/python/extending/newtypes_tutorial.html - [similar]
14.2. configparser --- 設定ファイルのパーサー — Python 3.6.5 ドキュメント 8955
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... as parts of values. # That being said, this can be customized. [Sections Can Be Indented] can_values_be_as_w ... を指定することでこれを上書きできます。たとえば: >>> custom = configparser . ConfigParser () >>> custom [ 'sec ... tion1' ] = { 'funky' : 'nope' } >>> custom [ 'section1' ] . getboolean ( 'funky' ) Traceback ... ll last): ... ValueError : Not a boolean: nope >>> custom . BOOLEAN_STATES = { 'sure' : True , 'nope' : Fals ...
https://man.plustar.jp/python/library/configparser.html - [similar]
19.1.4. email.policy: ポリシーオブジェクト — Python 3.6.5 ドキュメント 8737
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... re called internally by the email package, which a custom policy could override to obtain different behavior ... the email library to create policy instances with custom settings: clone ( **kw ) ¶ Return a new Policy ins ... alled by an application using the email package. A custom policy must implement all of these methods. handle ... ave a defects attribute that has an append method. Custom object types used with the email package (for exam ...
https://man.plustar.jp/python/library/email.policy.html - [similar]
Argument Clinic How-To — Python 3.6.5 ドキュメント 8652
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Argu ... g subclass_of , you may also want to use the other custom argument for object() : type , which lets you set ... t a different default name. How do you specify the custom type you want to cast self to? If you only have on ... t inherits from CConverter . The main purpose of a custom converter is if you have a parameter using the O& ... rg_ParseTuple() . Here's the simplest example of a custom converter, from Modules/zlibmodule.c : /*[python i ...
https://man.plustar.jp/python/howto/clinic.html - [similar]
16.7. logging.config --- ロギングの環境設定 — Python 3.6.5 ドキュメント 8131
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... me)-15s %(message)s' datefmt : '%Y-%m-%d %H:%M:%S' custom : () : my.package.customFormatterFactory bar : baz ... ogging.Formatter インスタンスが生成されます。id が custom である、3 つ目のフォーマッタの設定をする部分辞書は ... : { '()' : 'my.package.customFormatterFactory' , 'bar' : 'baz' , 'spam' : 99.9 , ... キーワード引数として呼ばれます。上記の例では、id が custom のフォーマッタは、以下の呼び出しによって返されるも ...
https://man.plustar.jp/python/library/logging.config.html - [similar]
19.1.2. email.parser: 電子メールメッセージのパース — Python 3.6.5 ドキュメント 8097
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... essage class is embodied in the policy class, so a custom parser can create message object trees any way it ... finds necessary by implementing custom versions of the appropriate policy methods. 19.1.2 ...
https://man.plustar.jp/python/library/email.parser.html - [similar]
6.7. readline --- GNU readline のインタフェース — Python 3.6.5 ドキュメント 8097
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ¶ The following functions relate to implementing a custom word completion function. This is typically operat ... reter. If the readline module is to be used with a custom completer, a different set of word delimiters shou ...
https://man.plustar.jp/python/library/readline.html - [similar]
What's New In Python 3.6 — Python 3.6.5 ドキュメント 8046
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... nd implemented by Yury Selivanov. PEP 487: Simpler customization of class creation ¶ It is now possible to c ... orrectly from __init_subclass__() implementations, custom metaclasses must ensure that the new __classcell__ ... クラスオブジェクトの作成 ). 参考 PEP 487 -- Simpler customization of class creation PEP written and implement ... : int_field = IntField () 参考 PEP 487 -- Simpler customization of class creation PEP written and implement ...
https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
21.28. ipaddress --- IPv4/IPv6 操作ライブラリ — Python 3.6.5 ドキュメント 7962
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... クトかアドレスオブジェクトのどちらかです。 21.28.6. Custom Exceptions ¶ クラスのコンストラクタがより具体的なエ ... 算子 21.28.5. その他のモジュールレベル関数 21.28.6. Custom Exceptions 前のトピックへ 21.27. xmlrpc.server --- ...
https://man.plustar.jp/python/library/ipaddress.html - [similar]
19.1.6. email.headerregistry: カスタムヘッダーオブジェクト — Python 3.6.5 ドキ... 7912
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ージョン 3.6 で追加: [1] Headers are represented by customized subclasses of str . The particular class used ... compliant email messages, which not only provides customized header objects for various header types, but a ... ension mechanism for applications to add their own custom header types. When using any of the policy objects ...
https://man.plustar.jp/python/library/email.headerregistry.html - [similar]
PREV 1 2 3 NEXT