/dports/devel/py-botocore/botocore-1.21.61/tests/unit/docs/ |
H A D | test_utils.py | 16 from botocore.docs.utils import py_default 61 self.assertEqual('{...}', py_default('structure')) 64 self.assertEqual('[...]', py_default('list')) 67 self.assertEqual('{...}', py_default('map')) 70 self.assertEqual('\'string\'', py_default('string')) 73 self.assertEqual('b\'bytes\'', py_default('blob')) 76 self.assertEqual('datetime(2015, 1, 1)', py_default('timestamp')) 79 self.assertEqual('123', py_default('integer')) 82 self.assertEqual('123', py_default('long')) 85 self.assertEqual('123.0', py_default('double'))
|
/dports/devel/libsigrokdecode/libsigrokdecode-0.5.3/ |
H A D | decoder.c | 257 PyObject *py_opts, *py_opt, *py_str, *py_values, *py_default, *py_item; in get_options() local 315 py_default = PyDict_GetItemString(py_opt, "default"); in get_options() 316 if (py_default) { in get_options() 317 gvar = py_obj_to_variant(py_default); in get_options() 346 if (py_default && (Py_TYPE(py_default) != Py_TYPE(py_item))) { in get_options()
|
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/third_party/botocore/docs/ |
H A D | example.py | 14 from botocore.docs.utils import py_default 52 py_type = py_default(shape.type_name)
|
H A D | utils.py | 38 def py_default(type_name): function
|
/dports/devel/py-botocore/botocore-1.21.61/botocore/docs/ |
H A D | example.py | 14 from botocore.docs.utils import py_default 52 py_type = py_default(shape.type_name)
|
H A D | utils.py | 38 def py_default(type_name): function
|
/dports/lang/python37/Python-3.7.12/Tools/clinic/ |
H A D | clinic.py | 2276 py_default = None variable in CConverter 2358 if py_default: 2359 self.py_default = py_default 3020 self.py_default = py_default 3840 py_default = 'None' 3847 py_default = default 3865 value = eval(py_default) 3870 py_default = repr(value) 3876 c_default = py_default 3883 py_default = default [all …]
|
/dports/security/sudo/sudo-1.9.8p2/plugins/python/ |
H A D | pyhelpers.c | 512 py_object_get_optional_attr(PyObject *py_object, const char *attr, PyObject *py_default) in py_object_get_optional_attr() argument 517 Py_XINCREF(py_default); // whatever we return will have its refcount incremented in py_object_get_optional_attr() 518 return py_default; in py_object_get_optional_attr()
|
H A D | pyhelpers.h | 84 PyObject *py_object_get_optional_attr(PyObject *py_object, const char *attr, PyObject *py_default);
|
/dports/databases/py-sqlite3/Python-3.8.12/Tools/clinic/ |
H A D | clinic.py | 2402 py_default = None variable in CConverter 2484 if py_default: 2485 self.py_default = py_default 3644 self.py_default = py_default 4451 py_default = '<unrepresentable>' 4463 py_default = default 4481 value = eval(py_default) 4486 py_default = repr(value) 4492 c_default = py_default 4499 py_default = default [all …]
|
/dports/databases/py-gdbm/Python-3.8.12/Tools/clinic/ |
H A D | clinic.py | 2402 py_default = None variable in CConverter 2484 if py_default: 2485 self.py_default = py_default 3644 self.py_default = py_default 4451 py_default = '<unrepresentable>' 4463 py_default = default 4481 value = eval(py_default) 4486 py_default = repr(value) 4492 c_default = py_default 4499 py_default = default [all …]
|
/dports/lang/python-tools/Python-3.8.12/Tools/clinic/ |
H A D | clinic.py | 2402 py_default = None variable in CConverter 2484 if py_default: 2485 self.py_default = py_default 3644 self.py_default = py_default 4451 py_default = '<unrepresentable>' 4463 py_default = default 4481 value = eval(py_default) 4486 py_default = repr(value) 4492 c_default = py_default 4499 py_default = default [all …]
|
/dports/lang/python38/Python-3.8.12/Tools/clinic/ |
H A D | clinic.py | 2402 py_default = None variable in CConverter 2484 if py_default: 2485 self.py_default = py_default 3644 self.py_default = py_default 4451 py_default = '<unrepresentable>' 4463 py_default = default 4481 value = eval(py_default) 4486 py_default = repr(value) 4492 c_default = py_default 4499 py_default = default [all …]
|
/dports/lang/python39/Python-3.9.9/Tools/clinic/ |
H A D | clinic.py | 2423 py_default = None variable in CConverter 2505 if py_default: 2506 self.py_default = py_default 3685 self.py_default = py_default 4492 py_default = '<unrepresentable>' 4504 py_default = default 4522 value = eval(py_default) 4527 py_default = repr(value) 4533 c_default = py_default 4540 py_default = default [all …]
|
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Tools/clinic/ |
H A D | clinic.py | 2402 py_default = None variable in CConverter 2484 if py_default: 2485 self.py_default = py_default 3644 self.py_default = py_default 4451 py_default = '<unrepresentable>' 4463 py_default = default 4481 value = eval(py_default) 4486 py_default = repr(value) 4492 c_default = py_default 4499 py_default = default [all …]
|
/dports/lang/python311/Python-3.11.0a3/Tools/clinic/ |
H A D | clinic.py | 2482 py_default = None variable in CConverter 2564 if py_default: 2565 self.py_default = py_default 3780 self.py_default = py_default 4600 py_default = '<unrepresentable>' 4612 py_default = default 4630 value = eval(py_default) 4635 py_default = repr(value) 4641 c_default = py_default 4648 py_default = default [all …]
|
/dports/lang/python310/Python-3.10.1/Tools/clinic/ |
H A D | clinic.py | 2422 py_default = None variable in CConverter 2504 if py_default: 2505 self.py_default = py_default 3702 self.py_default = py_default 4510 py_default = '<unrepresentable>' 4522 py_default = default 4540 value = eval(py_default) 4545 py_default = repr(value) 4551 c_default = py_default 4558 py_default = default [all …]
|
/dports/devel/spark/spark-2.1.1/python/pyspark/ml/ |
H A D | tests.py | 1274 py_default = py_stage.getOrDefault(p) 1275 self.assertEqual(java_default, py_default, 1277 % (str(java_default), str(py_default), p.name, str(py_stage)))
|
/dports/databases/py-gdbm/Python-3.8.12/Doc/howto/ |
H A D | clinic.rst | 1244 ``py_default``
|
/dports/lang/python310/Python-3.10.1/Doc/howto/ |
H A D | clinic.rst | 1306 ``py_default``
|
/dports/lang/python37/Python-3.7.12/Doc/howto/ |
H A D | clinic.rst | 1238 ``py_default``
|
/dports/lang/python38/Python-3.8.12/Doc/howto/ |
H A D | clinic.rst | 1244 ``py_default``
|
/dports/lang/python-tools/Python-3.8.12/Doc/howto/ |
H A D | clinic.rst | 1244 ``py_default``
|
/dports/lang/python39/Python-3.9.9/Doc/howto/ |
H A D | clinic.rst | 1244 ``py_default``
|
/dports/databases/py-sqlite3/Python-3.8.12/Doc/howto/ |
H A D | clinic.rst | 1244 ``py_default``
|