Conda 23.3.x Documentation
constant("23.9", "24.3", "ULTIMATE_CONSTANT", 42) Listing 10: Example invocation. >>> import foo >>> foo.ULTIMATE_CONSTANT:1: PendingDeprecationWarning: foo.ULTIMATE_CONSTANT is pending deprecation 0 码力 | 370 页 | 2.94 MB | 7 月前3Conda 23.5.x Documentation
constant("23.9", "24.3", "ULTIMATE_CONSTANT", 42) Listing 14: Example invocation. >>> import foo >>> foo.ULTIMATE_CONSTANT:1: PendingDeprecationWarning: foo.ULTIMATE_CONSTANT is pending deprecation 0 码力 | 370 页 | 3.11 MB | 7 月前3Conda 23.10.x Documentation
constant("23.9", "24.3", "ULTIMATE_CONSTANT", 42) Listing 17: Example invocation. >>> import foo >>> foo.ULTIMATE_CONSTANT:1: PendingDeprecationWarning: foo.ULTIMATE_CONSTANT is pending deprecation file, foo.py. from enum import Enum from conda.deprecations import deprecated class Bar(Enum): ULTIMATE_CONSTANT = 42 deprecated.constant("23.9", "24.3", "Bar", Bar) del Bar Listing 19: Example invocation 0 码力 | 773 页 | 5.05 MB | 7 月前3Conda 23.7.x Documentation
constant("23.9", "24.3", "ULTIMATE_CONSTANT", 42) Listing 15: Example invocation. >>> import foo >>> foo.ULTIMATE_CONSTANT:1: PendingDeprecationWarning: foo.ULTIMATE_CONSTANT is pending deprecation file, foo.py. from enum import Enum from conda.deprecations import deprecated class Bar(Enum): ULTIMATE_CONSTANT = 42 deprecated.constant("23.9", "24.3", "Bar", Bar) del Bar Listing 17: Example invocation 0 码力 | 795 页 | 4.91 MB | 7 月前3Conda 23.11.x Documentation
constant("23.9", "24.3", "ULTIMATE_CONSTANT", 42) Listing 17: Example invocation. >>> import foo >>> foo.ULTIMATE_CONSTANT:1: PendingDeprecationWarning: foo.ULTIMATE_CONSTANT is pending deprecation file, foo.py. from enum import Enum from conda.deprecations import deprecated class Bar(Enum): ULTIMATE_CONSTANT = 42 deprecated.constant("23.9", "24.3", "Bar", Bar) del Bar Listing 19: Example invocation 0 码力 | 781 页 | 4.79 MB | 7 月前3Conda 24.1.x Documentation
constant("23.9", "24.3", "ULTIMATE_CONSTANT", 42) Listing 17: Example invocation. >>> import foo >>> foo.ULTIMATE_CONSTANT:1: PendingDeprecationWarning: foo.ULTIMATE_CONSTANT is pending deprecation file, foo.py. from enum import Enum from conda.deprecations import deprecated class Bar(Enum): ULTIMATE_CONSTANT = 42 deprecated.constant("23.9", "24.3", "Bar", Bar) del Bar Listing 19: Example invocation 0 码力 | 795 页 | 4.73 MB | 7 月前3Conda 24.3.x Documentation
constant("23.9", "24.3", "ULTIMATE_CONSTANT", 42) Listing 17: Example invocation. >>> import foo >>> foo.ULTIMATE_CONSTANT:1: PendingDeprecationWarning: foo.ULTIMATE_CONSTANT is pending deprecation file, foo.py. from enum import Enum from conda.deprecations import deprecated class Bar(Enum): ULTIMATE_CONSTANT = 42 deprecated.constant("23.9", "24.3", "Bar", Bar) del Bar Listing 19: Example invocation 0 码力 | 786 页 | 4.98 MB | 7 月前3Conda 24.4.x Documentation
constant("23.9", "24.3", "ULTIMATE_CONSTANT", 42) Listing 17: Example invocation. >>> import foo >>> foo.ULTIMATE_CONSTANT:1: PendingDeprecationWarning: foo.ULTIMATE_CONSTANT is pending deprecation file, foo.py. from enum import Enum from conda.deprecations import deprecated class Bar(Enum): ULTIMATE_CONSTANT = 42 deprecated.constant("23.9", "24.3", "Bar", Bar) del Bar Listing 19: Example invocation 0 码力 | 786 页 | 4.99 MB | 7 月前3Conda 24.5.x Documentation
constant("23.9", "24.3", "ULTIMATE_CONSTANT", 42) Listing 17: Example invocation. >>> import foo >>> foo.ULTIMATE_CONSTANT:1: PendingDeprecationWarning: foo.ULTIMATE_CONSTANT is pending deprecation file, foo.py. from enum import Enum from conda.deprecations import deprecated class Bar(Enum): ULTIMATE_CONSTANT = 42 deprecated.constant("23.9", "24.3", "Bar", Bar) del Bar Listing 19: Example invocation 0 码力 | 794 页 | 5.01 MB | 7 月前3Conda 25.1.x Documentation
deprecated.constant("23.9", "24.3", "ULTIMATE_CONSTANT", 42) 4.6. Developer guide 397 conda, Release 25.1.2.dev1 Listing 17: Example invocation. >>> import foo >>> foo.ULTIMATE_CONSTANT:1: PendingDeprecationWarning: PendingDeprecationWarning: foo.ULTIMATE_CONSTANT is pending deprecation and␣ ˓→will be removed in 24.3. Enums work similarly: Listing 18: Example file, foo.py. from enum import Enum from conda.deprecations deprecations import deprecated class Bar(Enum): ULTIMATE_CONSTANT = 42 deprecated.constant("23.9", "24.3", "Bar", Bar) del Bar Listing 19: Example invocation. >>> from foo import Bar :1: PendingDeprecationWarning: 0 码力 | 822 页 | 5.20 MB | 7 月前3
共 14 条
- 1
- 2