Lines Matching defs:binary
197 "bytes use binary mode and leave encoding unspecified.) The available\n"
206 "'b' binary mode\n"
213 "The default mode is 'rt' (open for reading text). For binary random\n"
217 "Python distinguishes between files opened in binary and text modes,\n"
219 "binary mode (appending 'b' to the mode argument) return contents as\n"
226 "Pass 0 to switch buffering off (only allowed in binary mode), 1 to select\n"
238 " for binary files.\n"
246 "be handled---this argument should not be used in binary mode. Pass\n"
279 "a file in a binary mode, the returned class varies: in read binary\n"
280 "mode, it returns a BufferedReader; in write binary and append binary\n"
287 "opened in a binary mode.\n"
303 int text = 0, binary = 0, universal = 0;
351 binary = 1;
387 if (text && binary) {
389 "can't have text and binary mode at once");
399 if (binary && encoding != NULL) {
401 "binary mode doesn't take an encoding argument");
405 if (binary && errors != NULL) {
407 "binary mode doesn't take an errors argument");
411 if (binary && newline != NULL) {
413 "binary mode doesn't take a newline argument");
474 if (!binary) {
508 /* if binary, returns the buffered file */
509 if (binary) {