Lines Matching refs:default

477         function which takes a string and displays it.  If 'None' (the default),
509 'shortunit'. The default format prints, for example, '3.23 MB' """
612 # "pkg.content-hash" is provided by default and doesn't
714 # "pkg.content-hash" is provided by default and doesn't
1043 def __init__(self, default=EmptyI):
1044 dict.__init__(self, default)
1052 def pop(self, item, default=None):
1058 def setdefault(self, item, default=None):
1131 def get(self, key, default=None):
1134 return self.__fgetdefault(self.__obj, key, default)
1136 def setdefault(self, key, default=None):
1139 return self.__fsetdefault(self.__obj, key, default)
1146 def pop(self, d, default):
1149 return self.__pop(self.__obj, d, default)
1266 # In Python's tempfile module, the default temp directory
1269 # environment, override the default directory for creating a tempfile.
1282 default value."""
1433 option and its default value:
1439 The default value not only represents the default value assigned to the
1441 the default value is True or False, the option doesn't take any
1443 default value. If the default value is 0, the option doesn't take any
1445 will be the number of times it was seen. If the default value is
1447 if specified its value will be its argument string. If the default
1486 opt, default = entry
1488 opt, default, dummy_valid_args = entry
1490 opt, default, dummy_valid_args, dummy_schema = entry
1497 if default is None or type(default) == list:
1503 if default is None or type(default) == list:
1528 """Find the default value for a given option from opts_table."""
1533 opt, default = x
1535 opt, default, dummy_valid_args = x
1537 opt, default, dummy_valid_args, \
1540 return default
1544 # Determine required option type based on the default value.
1545 default = get_default(opt)
1549 if type(default) == int:
1555 if type(default) == list:
1567 # For boolean options we have to toggle the default value
1569 if type(default) == bool:
1571 opt_dict[opt] = not default
1623 assume that pkg(1) is in the default path."""
1702 'out_format' is the format to use for output. Currently 'default',
1707 'def_fmt' is the default Python formatting string to use for the
1708 'default' human-readable output. It must match the fields defined
1727 return "default" in record[0]
1784 if out_format == "default":
1785 # Create a formatting string for the default output
1922 # initialize parameters to default
2172 # initialize parameters to default
2392 negative number (the default) we recursively check any nested lists or