Constant Field Values

Contents

com.ziclix.*

org.python.*

  • org.python.core.io.IOBase
    Modifier and Type
    Constant Field
    Value
    public static final int
    8192
  • org.python.core.io.TextIOBase
    Modifier and Type
    Constant Field
    Value
    public static final int
    300
  • org.python.core.stringlib.InternalFormat.Spec
    Modifier and Type
    Constant Field
    Value
    public static final char
    '\uffff'
    public static final int
    -1
  • org.python.modules._bytecodetools
    Modifier and Type
    Constant Field
    Value
    public static final String
    "Provides utilities for generated bytecode.\n"
    public static final String
    "BytecodeTools"
  • org.python.modules._imp
    Modifier and Type
    Constant Field
    Value
    public static final int
    6
    public static final int
    3
    public static final int
    9
    public static final int
    5
    public static final int
    2
    public static final int
    7
    public static final int
    1
  • org.python.modules.cPickle
    Modifier and Type
    Constant Field
    Value
    public static final String
    "2.0"
    public static final int
    2
  • org.python.modules.cStringIO
    Modifier and Type
    Constant Field
    Value
    public static final String
    "A simple fast partial StringIO replacement.\n\nThis module provides a simple useful replacement for\nthe StringIO module that is written in Java. It does not provide the\nfull generality of StringIO, but it provides enough for most\napplications and is especially useful in conjunction with the\npickle module.\n\nUsage:\n\n from cStringIO import StringIO\n\n an_output_stream=StringIO()\n an_output_stream.write(some_stuff)\n ...\n value=an_output_stream.getvalue()\n\n an_input_stream=StringIO(a_string)\n spam=an_input_stream.readline()\n spam=an_input_stream.read(5)\n an_input_stream.seek(0) # OK, start over\n spam=an_input_stream.read() # and read it all\n \nIf someone else wants to provide a more complete implementation,\ngo for it. :-) \n\ncStringIO.java,v 1.10 1999/05/20 18:03:20 fb Exp\nPython-level doc was inserted on 2017/02/01, copied from\ncStringIO.c,v 1.29 1999/06/15 14:10:27 jim Exp\n"
    public static final String
    "StringIO([s]) -- Return a StringIO-like stream for reading or writing"
  • org.python.modules.cStringIO.StringIO
    Modifier and Type
    Constant Field
    Value
    public static final String
    "close(): explicitly release resources held."
    public static final String
    "flush(): does nothing."
    public static final String
    "getvalue([use_pos]) -- Get the string value.\nIf use_pos is specified and is a true value, then the string returned\nwill include only the text up to the current file position.\n"
    public static final String
    "isatty(): always returns 0"
    public static final String
    "read([s]) -- Read s characters, or the rest of the string"
    public static final String
    "readline() -- Read one line"
    public static final String
    "readlines() -- Read all lines"
    public static final String
    "reset() -- Reset the file position to the beginning"
    public static final String
    "seek(position) -- set the current position\nseek(position, mode) -- mode 0: absolute; 1: relative; 2: relative to EOF"
    public static final String
    "tell() -- get the current position."
    public static final String
    "truncate(): truncate the file at the current position."
    public static final String
    "write(s) -- Write a string to the file\n\nNote (hack:) writing None resets the buffer"
    public static final String
    "writelines(sequence_of_strings) -> None. Write the strings to the file.\n\nNote that newlines are not added. The sequence can be any iterable object\nproducing strings. This is equivalent to calling write() for each string."
  • org.python.modules.gc
    Modifier and Type
    Constant Field
    Value
    public static final String
    "This module provides access to the garbage collector for reference cycles.\n\nenable() -- Enable automatic garbage collection (does nothing in Jython).\ndisable() -- Disable automatic garbage collection (raises NotImplementedError in Jython).\nisenabled() -- Returns True because Java garbage collection cannot be disabled.\ncollect() -- Do a full collection right now (potentially expensive).\nget_count() -- Return the current collection counts (raises NotImplementedError in Jython).\nset_debug() -- Set debugging flags.\nget_debug() -- Get debugging flags.\nset_threshold() -- Set the collection thresholds (raise NotImplementedError in Jython).\nget_threshold() -- Return the current the collection thresholds (raise NotImplementedError in Jython).\nget_objects() -- Return a list of all objects tracked by the collector (raises NotImplementedError in Jython).\nis_tracked() -- Returns true if a given object is tracked (i.e. monitored in Jython).\nget_referrers() -- Return the list of objects that refer to an object (only finds monitored referrers in Jython).\nget_referents() -- Return the list of objects that an object refers to.\n"
    public static final String
    "gc"
    public static final int
    2
    public static final int
    8
    public static final int
    62
    public static final int
    16
    public static final int
    32
    public static final int
    1
    public static final int
    4
    public static final short
    2
    public static final short
    8
    public static final short
    64
    public static final short
    16
    public static final short
    32
    public static final short
    256
    public static final short
    1
    public static final short
    4
    public static final short
    128
    public static final int
    -2
    public static final short
    512
    public static final short
    15360
    public static final short
    1024
    public static final short
    4096
    public static final short
    8192
    public static final short
    2048
  • org.python.modules._csv.PyDialect
    Modifier and Type
    Constant Field
    Value
    public static final String
    "CSV dialect\n\nThe Dialect type records CSV parsing and generation options.\n"
  • org.python.modules._csv.PyReader
    Modifier and Type
    Constant Field
    Value
    public static final String
    "CSV reader\n\nReader objects are responsible for reading and parsing tabular data\nin CSV format.\n"
  • org.python.modules._csv.PyWriter
    Modifier and Type
    Constant Field
    Value
    public static final String
    "CSV writer\n\nWriter objects are responsible for generating tabular data\nin CSV format from sequence input.\n"
  • org.python.modules._io._jyio
    Modifier and Type
    Constant Field
    Value
    public static final String
    "The io module provides the Python interfaces to stream handling. The\nbuiltin open function is defined in this module.\n\nAt the top of the I/O hierarchy is the abstract base class IOBase. It\ndefines the basic interface to a stream. Note, however, that there is no\nseperation between reading and writing to streams; implementations are\nallowed to throw an IOError if they do not support a given operation.\n\nExtending IOBase is RawIOBase which deals simply with the reading and\nwriting of raw bytes to a stream. FileIO subclasses RawIOBase to provide\nan interface to OS files.\n\nBufferedIOBase deals with buffering on a raw byte stream (RawIOBase). Its\nsubclasses, BufferedWriter, BufferedReader, and BufferedRWPair buffer\nstreams that are readable, writable, and both respectively.\nBufferedRandom provides a buffered interface to random access\nstreams. BytesIO is a simple stream of in-memory bytes.\n\nAnother IOBase subclass, TextIOBase, deals with the encoding and decoding\nof streams into text. TextIOWrapper, which extends it, is a buffered text\ninterface to a buffered raw stream (`BufferedIOBase`). Finally, StringIO\nis a in-memory stream for text.\n\nArgument names are not part of the specification, and only the arguments\nof open() are intended to be used as keyword arguments.\n"
    public static final String
    "Open file and return a stream. Raise IOError upon failure.\n\nfile is either a text or byte string giving the name (and the path\nif the file isn\'t in the current working directory) of the file to\nbe opened or an integer file descriptor of the file to be\nwrapped. (If a file descriptor is given, it is closed when the\nreturned I/O object is closed, unless closefd is set to False.)\n\nmode is an optional string that specifies the mode in which the file\nis opened. It defaults to \'r\' which means open for reading in text\nmode. Other common values are \'w\' for writing (truncating the file if\nit already exists), and \'a\' for appending (which on some Unix systems,\nmeans that all writes append to the end of the file regardless of the\ncurrent seek position). In text mode, if encoding is not specified the\nencoding used is platform dependent. (For reading and writing raw\nbytes use binary mode and leave encoding unspecified.) The available\nmodes are:\n\n========= ===============================================================\nCharacter Meaning\n--------- ---------------------------------------------------------------\n\'r\' open for reading (default)\n\'w\' open for writing, truncating the file first\n\'a\' open for writing, appending to the end of the file if it exists\n\'b\' binary mode\n\'t\' text mode (default)\n\'+\' open a disk file for updating (reading and writing)\n\'U\' universal newline mode (for backwards compatibility; unneeded\n for new code)\n========= ===============================================================\n\nThe default mode is \'rt\' (open for reading text). For binary random\naccess, the mode \'w+b\' opens and truncates the file to 0 bytes, while\n\'r+b\' opens the file without truncation.\n\nPython distinguishes between files opened in binary and text modes,\neven when the underlying operating system doesn\'t. Files opened in\nbinary mode (appending \'b\' to the mode argument) return contents as\nbytes objects without any decoding. In text mode (the default, or when\n\'t\' is appended to the mode argument), the contents of the file are\nreturned as strings, the bytes having been first decoded using a\nplatform-dependent encoding or using the specified encoding if given.\n\nbuffering is an optional integer used to set the buffering policy.\nPass 0 to switch buffering off (only allowed in binary mode), 1 to select\nline buffering (only usable in text mode), and an integer > 1 to indicate\nthe size of a fixed-size chunk buffer. When no buffering argument is\ngiven, the default buffering policy works as follows:\n\n* Binary files are buffered in fixed-size chunks; the size of the buffer\n is chosen using a heuristic trying to determine the underlying device\'s\n \"block size\" and falling back on `io.DEFAULT_BUFFER_SIZE`.\n On many systems, the buffer will typically be 4096 or 8192 bytes long.\n\n* \"Interactive\" text files (files for which isatty() returns True)\n use line buffering. Other text files use the policy described above\n for binary files.\n\nencoding is the name of the encoding used to decode or encode the\nfile. This should only be used in text mode. The default encoding is\nplatform dependent, but any encoding supported by Python can be\npassed. See the codecs module for the list of supported encodings.\n\nerrors is an optional string that specifies how encoding errors are to\nbe handled---this argument should not be used in binary mode. Pass\n\'strict\' to raise a ValueError exception if there is an encoding error\n(the default of None has the same effect), or pass \'ignore\' to ignore\nerrors. (Note that ignoring encoding errors can lead to data loss.)\nSee the documentation for codecs.register for a list of the permitted\nencoding error strings.\n\nnewline controls how universal newlines works (it only applies to text\nmode). It can be None, \'\', \'\\n\', \'\\r\', and \'\\r\\n\'. It works as\nfollows:\n\n* On input, if newline is None, universal newlines mode is\n enabled. Lines in the input can end in \'\\n\', \'\\r\', or \'\\r\\n\', and\n these are translated into \'\\n\' before being returned to the\n caller. If it is \'\', universal newline mode is enabled, but line\n endings are returned to the caller untranslated. If it has any of\n the other legal values, input lines are only terminated by the given\n string, and the line ending is returned to the caller untranslated.\n\n* On output, if newline is None, any \'\\n\' characters written are\n translated to the system default line separator, os.linesep. If\n newline is \'\', no translation takes place. If newline is any of the\n other legal values, any \'\\n\' characters written are translated to\n the given string.\n\nIf closefd is False, the underlying file descriptor will be kept open\nwhen the file is closed. This does not work when a file name is given\nand must be True in that case.\n\nopen() returns a file object whose type depends on the mode, and\nthrough which the standard file operations such as reading and writing\nare performed. When open() is used to open a file in a text mode (\'w\',\n\'r\', \'wt\', \'rt\', etc.), it returns a TextIOWrapper. When used to open\na file in a binary mode, the returned class varies: in read binary\nmode, it returns a BufferedReader; in write binary and append binary\nmodes, it returns a BufferedWriter, and in read/write mode, it returns\na BufferedRandom.\n\nIt is also possible to use a string or bytearray as a file for both\nreading and writing. For strings StringIO can be used like a file\nopened in a text mode, and for bytes a BytesIO can be used like a file\nopened in a binary mode.\n"
  • org.python.modules._io.PyIOBase
    Modifier and Type
    Constant Field
    Value
    public static final String
    "Flush and close the IO object.\n\nThis method has no effect if the file is already closed."
    public static final String
    "True if the stream is closed.\n"
    public static final String
    "Returns underlying file descriptor if one exists.\n\nAn IOError is raised if the IO object does not use a file descriptor.\n"
    public static final String
    "Flush write buffers, if applicable.\n\nThis is not implemented for read-only and non-blocking streams."
    public static final String
    "Return whether this is an \'interactive\' stream.\n\nReturn False if it can\'t be determined.\n"
    public static final String
    "Return whether object was opened for reading.\n\nIf False, read() will raise IOError."
    public static final String
    "Read and return a line from the stream.\n\nIf limit is specified, at most limit bytes will be read.\n\nThe line terminator is always b\'\n\' for binary files; for text\nfiles, the newlines argument to open can be used to select the line\nterminator(s) recognized.\n"
    public static final String
    "Return a list of lines from the stream.\n\nhint can be specified to control the number of lines read: no more\nlines will be read if the total size (in bytes/characters) of all\nlines so far exceeds hint."
    public static final String
    "Change stream position.\n\nChange the stream position to byte offset offset. offset is\ninterpreted relative to the position indicated by whence. Values\nfor whence are:\n\n* 0 -- start of stream (the default); offset should be zero or positive\n* 1 -- current stream position; offset may be negative\n* 2 -- end of stream; offset is usually negative\n\nReturn the new absolute position."
    public static final String
    "Return whether object supports random access.\n\nIf False, seek(), tell() and truncate() will raise IOError.\nThis method may need to do a test seek()."
    public static final String
    "Return current stream position."
    public static final String
    "Truncate file to size bytes.\n\nFile pointer is left unchanged. Size defaults to the current IO\nposition as reported by tell(). Returns the new size."
    public static final String
    "Return whether object was opened for writing.\n\nIf False, read() will raise IOError."
    public static final String
    "Write a list of lines to the stream. Line separators are not added,\nso it is usual for each of the lines provided to have a line separator\nat the end."
  • org.python.modules._io.PyRawIOBase
    Modifier and Type
    Constant Field
    Value
    public static final String
    "Read up to n bytes from the object and return them.\nAs a convenience, if n is unspecified or -1, readall() is called."
    public static final String
    "Read and return all the bytes from the stream until EOF, using multiple\ncalls to the stream if necessary."
    public static final String
    "Read up to len(b) bytes into bytearray b and return the number of bytes read.\nIf the object is in non-blocking mode and no bytes are available,\nNone is returned."
    public static final String
    "Write the given bytes or bytearray object, b, to the underlying raw\nstream and return the number of bytes written."
  • org.python.modules.itertools.chain
    Modifier and Type
    Constant Field
    Value
    public static final String
    "chain(*iterables) --> chain object\n\nReturn a chain object whose .next() method returns elements from the\nfirst iterable until it is exhausted, then elements from the next\niterable, until all of the iterables are exhausted."
  • org.python.modules.itertools.combinations
    Modifier and Type
    Constant Field
    Value
    public static final String
    "combinations(iterable, r) --> combinations object\n\nReturn successive r-length combinations of elements in the iterable.\n\ncombinations(range(4), 3) --> (0,1,2), (0,1,3), (0,2,3), (1,2,3)"
  • org.python.modules.itertools.combinationsWithReplacement
    Modifier and Type
    Constant Field
    Value
    public static final String
    "combinations_with_replacement(iterable, r) --> combinations_with_replacement object\n\nReturn successive r-length combinations of elements in the iterable\nallowing individual elements to have successive repeats.\ncombinations_with_replacement(\'ABC\', 2) --> AA AB AC BB BC CC"
  • org.python.modules.itertools.compress
    Modifier and Type
    Constant Field
    Value
    public static final String
    "compress(data, selectors) --> iterator over selected data\n\nReturn data elements corresponding to true selector elements.\nForms a shorter iterator from selected data elements using the\nselectors to choose the data elements."
  • org.python.modules.itertools.count
    Modifier and Type
    Constant Field
    Value
    public static final String
    "count(start=0, step=1) --> count object\n\nReturn a count object whose .next() method returns consecutive values.\n Equivalent to:\n\n def count(firstval=0, step=1):\n x = firstval\n while 1:\n yield x\n x += step\n"
  • org.python.modules.itertools.cycle
    Modifier and Type
    Constant Field
    Value
    public static final String
    "cycle(iterable) --> cycle object\n\nReturn elements from the iterable until it is exhausted.\nThen repeat the sequence indefinitely."
  • org.python.modules.itertools.dropwhile
    Modifier and Type
    Constant Field
    Value
    public static final String
    "dropwhile(predicate, iterable) --> dropwhile object\n\nDrop items from the iterable while predicate(item) is true.\nAfterwards, return every element until the iterable is exhausted."
  • org.python.modules.itertools.groupby
    Modifier and Type
    Constant Field
    Value
    public static final String
    "groupby(iterable[, keyfunc]) -> create an iterator which returns\n(key, sub-iterator) grouped by each value of key(value)."
  • org.python.modules.itertools.ifilter
    Modifier and Type
    Constant Field
    Value
    public static final String
    "ifilter(function or None, sequence) --> ifilter object\n\nReturn those items of sequence for which function(item) is true.\nIf function is None, return the items that are true."
  • org.python.modules.itertools.ifilterfalse
    Modifier and Type
    Constant Field
    Value
    public static final String
    "\'ifilterfalse(function or None, sequence) --> ifilterfalse object\n\nReturn those items of sequence for which function(item) is false.\nIf function is None, return the items that are false.\'"
  • org.python.modules.itertools.imap
    Modifier and Type
    Constant Field
    Value
    public static final String
    "\'map(func, *iterables) --> imap object\n\nMake an iterator that computes the function using arguments from\neach of the iterables.\tLike map() except that it returns\nan iterator instead of a list and that it stops when the shortest\niterable is exhausted instead of filling in None for shorter\niterables."
  • org.python.modules.itertools.islice
    Modifier and Type
    Constant Field
    Value
    public static final String
    "islice(iterable, [start,] stop [, step]) --> islice object\n\nReturn an iterator whose next() method returns selected values from an\niterable. If start is specified, will skip all preceding elements;\notherwise, start defaults to zero. Step defaults to one. If\nspecified as another value, step determines how many values are \nskipped between successive calls. Works like a slice() on a list\nbut returns an iterator."
  • org.python.modules.itertools.izip
    Modifier and Type
    Constant Field
    Value
    public static final String
    "izip(iter1 [,iter2 [...]]) --> izip object\n\nReturn an izip object whose .next() method returns a tuple where\nthe i-th element comes from the i-th iterable argument. The .next()\nmethod continues until the shortest iterable in the argument sequence\nis exhausted and then it raises StopIteration. Works like the zip()\nfunction but consumes less memory by returning an iterator instead of\na list."
  • org.python.modules.itertools.izipLongest
    Modifier and Type
    Constant Field
    Value
    public static final String
    "izip_longest(iter1 [,iter2 [...]], [fillvalue=None]) --> izip_longest object\n\nReturn an izip_longest object whose .next() method returns a tuple where\nthe i-th element comes from the i-th iterable argument. The .next()\nmethod continues until the longest iterable in the argument sequence\nis exhausted and then it raises StopIteration. When the shorter iterables\nare exhausted, the fillvalue is substituted in their place. The fillvalue\ndefaults to None or can be specified by a keyword argument."
  • org.python.modules.itertools.permutations
    Modifier and Type
    Constant Field
    Value
    public static final String
    "permutations(iterable[, r]) --> permutations object\n\nReturn successive r-length permutations of elements in the iterable.\n\npermutations(range(3), 2) --> (0,1), (0,2), (1,0), (1,2), (2,0), (2,1)"
  • org.python.modules.itertools.product
    Modifier and Type
    Constant Field
    Value
    public static final String
    "product(*iterables) --> product object\n\nCartesian product of input iterables. Equivalent to nested for-loops.\n\nFor example, product(A, B) returns the same as: ((x,y) for x in A for y in B).\nThe leftmost iterators are in the outermost for-loop, so the output tuples\ncycle in a manner similar to an odometer (with the rightmost element changing\non every iteration).\n\nTo compute the product of an iterable with itself, specify the number\nof repetitions with the optional repeat keyword argument. For example,\nproduct(A, repeat=4) means the same as product(A, A, A, A).\n\nproduct(\'ab\', range(3)) --> (\'a\',0) (\'a\',1) (\'a\',2) (\'b\',0) (\'b\',1) (\'b\',2)\nproduct((0,1), (0,1), (0,1)) --> (0,0,0) (0,0,1) (0,1,0) (0,1,1) (1,0,0) ..."
  • org.python.modules.itertools.PyTeeIterator
    Modifier and Type
    Constant Field
    Value
    public static final String
    "Iterator wrapped to make it copyable"
  • org.python.modules.itertools.repeat
    Modifier and Type
    Constant Field
    Value
    public static final String
    "\'repeat(element [,times]) -> create an iterator which returns the element\nfor the specified number of times. If not specified, returns the element\nendlessly."
  • org.python.modules.itertools.starmap
    Modifier and Type
    Constant Field
    Value
    public static final String
    "starmap(function, sequence) --> starmap object\n\nReturn an iterator whose values are returned from the function evaluated\nwith an argument tuple taken from the given sequence."
  • org.python.modules.itertools.takewhile
    Modifier and Type
    Constant Field
    Value
    public static final String
    "takewhile(predicate, iterable) --> takewhile object\n\nReturn successive entries from an iterable as long as the\npredicate evaluates to true for each entry."