Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
2eb678ea
Commit
2eb678ea
authored
May 17, 2009
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove surplus empty lines and convert more files to new optional arg style.
parent
18d42704
Changes
39
Hide whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
38 additions
and
74 deletions
+38
-74
Doc/library/abc.rst
Doc/library/abc.rst
+0
-1
Doc/library/allos.rst
Doc/library/allos.rst
+0
-1
Doc/library/archiving.rst
Doc/library/archiving.rst
+0
-1
Doc/library/array.rst
Doc/library/array.rst
+0
-1
Doc/library/asynchat.rst
Doc/library/asynchat.rst
+0
-1
Doc/library/asyncore.rst
Doc/library/asyncore.rst
+0
-1
Doc/library/atexit.rst
Doc/library/atexit.rst
+0
-1
Doc/library/audioop.rst
Doc/library/audioop.rst
+0
-1
Doc/library/base64.rst
Doc/library/base64.rst
+0
-1
Doc/library/binascii.rst
Doc/library/binascii.rst
+0
-1
Doc/library/code.rst
Doc/library/code.rst
+0
-2
Doc/library/codeop.rst
Doc/library/codeop.rst
+0
-1
Doc/library/collections.rst
Doc/library/collections.rst
+0
-1
Doc/library/compileall.rst
Doc/library/compileall.rst
+0
-1
Doc/library/contextlib.rst
Doc/library/contextlib.rst
+0
-1
Doc/library/copy.rst
Doc/library/copy.rst
+0
-1
Doc/library/copyreg.rst
Doc/library/copyreg.rst
+1
-2
Doc/library/crypt.rst
Doc/library/crypt.rst
+0
-1
Doc/library/crypto.rst
Doc/library/crypto.rst
+0
-1
Doc/library/csv.rst
Doc/library/csv.rst
+0
-1
Doc/library/ctypes.rst
Doc/library/ctypes.rst
+2
-3
Doc/library/curses.ascii.rst
Doc/library/curses.ascii.rst
+0
-1
Doc/library/curses.panel.rst
Doc/library/curses.panel.rst
+2
-3
Doc/library/curses.rst
Doc/library/curses.rst
+2
-2
Doc/library/custominterp.rst
Doc/library/custominterp.rst
+0
-1
Doc/library/datatypes.rst
Doc/library/datatypes.rst
+0
-1
Doc/library/decimal.rst
Doc/library/decimal.rst
+0
-1
Doc/library/development.rst
Doc/library/development.rst
+0
-1
Doc/library/dis.rst
Doc/library/dis.rst
+5
-6
Doc/library/distutils.rst
Doc/library/distutils.rst
+8
-9
Doc/library/errno.rst
Doc/library/errno.rst
+0
-1
Doc/library/fcntl.rst
Doc/library/fcntl.rst
+7
-8
Doc/library/filecmp.rst
Doc/library/filecmp.rst
+5
-5
Doc/library/fileformats.rst
Doc/library/fileformats.rst
+0
-1
Doc/library/fileinput.rst
Doc/library/fileinput.rst
+2
-2
Doc/library/filesys.rst
Doc/library/filesys.rst
+0
-1
Doc/library/fnmatch.rst
Doc/library/fnmatch.rst
+0
-1
Doc/library/formatter.rst
Doc/library/formatter.rst
+4
-4
Doc/library/fpectl.rst
Doc/library/fpectl.rst
+0
-1
No files found.
Doc/library/abc.rst
View file @
2eb678ea
:mod:`abc` --- Abstract Base Classes
====================================
...
...
Doc/library/allos.rst
View file @
2eb678ea
.. _allos:
*********************************
...
...
Doc/library/archiving.rst
View file @
2eb678ea
.. _archiving:
******************************
...
...
Doc/library/array.rst
View file @
2eb678ea
:mod:`array` --- Efficient arrays of numeric values
===================================================
...
...
Doc/library/asynchat.rst
View file @
2eb678ea
:mod:`asynchat` --- Asynchronous socket command/response handler
================================================================
...
...
Doc/library/asyncore.rst
View file @
2eb678ea
:mod:`asyncore` --- Asynchronous socket handler
===============================================
...
...
Doc/library/atexit.rst
View file @
2eb678ea
:mod:`atexit` --- Exit handlers
===============================
...
...
Doc/library/audioop.rst
View file @
2eb678ea
:mod:`audioop` --- Manipulate raw audio data
============================================
...
...
Doc/library/base64.rst
View file @
2eb678ea
:mod:`base64` --- RFC 3548: Base16, Base32, Base64 Data Encodings
=================================================================
...
...
Doc/library/binascii.rst
View file @
2eb678ea
:mod:`binascii` --- Convert between binary and ASCII
====================================================
...
...
Doc/library/code.rst
View file @
2eb678ea
:mod:`code` --- Interpreter base classes
========================================
...
...
@@ -6,7 +5,6 @@
:synopsis: Facilities to implement read-eval-print loops.
The ``code`` module provides facilities to implement read-eval-print loops in
Python. Two classes and convenience functions are included which can be used to
build applications which provide an interactive interpreter prompt.
...
...
Doc/library/codeop.rst
View file @
2eb678ea
:mod:`codeop` --- Compile Python code
=====================================
...
...
Doc/library/collections.rst
View file @
2eb678ea
:mod:`collections` --- Container datatypes
==========================================
...
...
Doc/library/compileall.rst
View file @
2eb678ea
:mod:`compileall` --- Byte-compile Python libraries
===================================================
...
...
Doc/library/contextlib.rst
View file @
2eb678ea
:mod:`contextlib` --- Utilities for :keyword:`with`\ -statement contexts.
=========================================================================
...
...
Doc/library/copy.rst
View file @
2eb678ea
:mod:`copy` --- Shallow and deep copy operations
================================================
...
...
Doc/library/copyreg.rst
View file @
2eb678ea
:mod:`copyreg` --- Register :mod:`pickle` support functions
===========================================================
=
===========================================================
.. module:: copyreg
:synopsis: Register pickle support functions.
...
...
Doc/library/crypt.rst
View file @
2eb678ea
:mod:`crypt` --- Function to check Unix passwords
=================================================
...
...
Doc/library/crypto.rst
View file @
2eb678ea
.. _crypto:
**********************
...
...
Doc/library/csv.rst
View file @
2eb678ea
:mod:`csv` --- CSV File Reading and Writing
===========================================
...
...
Doc/library/ctypes.rst
View file @
2eb678ea
:mod:`ctypes` --- A foreign function library for Python.
========================================================
:mod:`ctypes` --- A foreign function library for Python
=======================================================
.. module:: ctypes
:synopsis: A foreign function library for Python.
...
...
Doc/library/curses.ascii.rst
View file @
2eb678ea
:mod:`curses.ascii` --- Utilities for ASCII characters
======================================================
...
...
Doc/library/curses.panel.rst
View file @
2eb678ea
:mod:`curses.panel` --- A panel stack extension for curses.
===========================================================
:mod:`curses.panel` --- A panel stack extension for curses
==========================================================
.. module:: curses.panel
:synopsis: A panel stack extension that adds depth to curses windows.
...
...
Doc/library/curses.rst
View file @
2eb678ea
:mod:`curses` --- Terminal handling for character-cell displays
===============================================================
.. module:: curses
:synopsis: An interface to the curses library, providing portable terminal handling.
:synopsis: An interface to the curses library, providing portable
terminal handling.
.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
.. sectionauthor:: Eric Raymond <esr@thyrsus.com>
...
...
Doc/library/custominterp.rst
View file @
2eb678ea
.. _custominterp:
**************************
...
...
Doc/library/datatypes.rst
View file @
2eb678ea
.. _datatypes:
**********
...
...
Doc/library/decimal.rst
View file @
2eb678ea
:mod:`decimal` --- Decimal fixed point and floating point arithmetic
====================================================================
...
...
Doc/library/development.rst
View file @
2eb678ea
.. _development:
*****************
...
...
Doc/library/dis.rst
View file @
2eb678ea
:mod:`dis` --- Disassembler for Python bytecode
===============================================
...
...
@@ -6,11 +5,11 @@
:synopsis: Disassembler for Python bytecode.
The :mod:`dis` module supports the analysis of Python :term:`bytecode` by
disassembling
it. Since there is no Python assembler, this module defines the Python assembly
language. The Python bytecode which this module takes as an input is defined
in
the file :file:`Include/opcode.h` and used by the compiler and the
interpreter.
The :mod:`dis` module supports the analysis of Python :term:`bytecode` by
disassembling it. Since there is no Python assembler, this module defines the
Python assembly language. The Python bytecode which this module takes as an
in
put is defined in the file :file:`Include/opcode.h` and used by the compiler
and the
interpreter.
Example: Given the function :func:`myfunc`::
...
...
Doc/library/distutils.rst
View file @
2eb678ea
:mod:`distutils` --- Building and installing Python modules
===========================================================
.. module:: distutils
:synopsis: Support for building and installing Python modules into an
existing Python
installation.
:synopsis: Support for building and installing Python modules into an
existing Python
installation.
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
...
...
@@ -19,12 +18,12 @@ This package is discussed in two separate chapters:
.. seealso::
:ref:`distutils-index`
The manual for developers and packagers of Python modules. This describes
how
to prepare :mod:`distutils`\ -based packages so that they may be easily
installed into an existing Python installation.
The manual for developers and packagers of Python modules. This describes
how to prepare :mod:`distutils`\ -based packages so that they may be
easily
installed into an existing Python installation.
:ref:`install-index`
An "administrators" manual which includes information on installing
modules into
an existing Python installation. You do not need to be a Python programmer to
read this manual.
An "administrators" manual which includes information on installing
modules into an existing Python installation. You do not need to be a
Python programmer to
read this manual.
Doc/library/errno.rst
View file @
2eb678ea
:mod:`errno` --- Standard errno system symbols
==============================================
...
...
Doc/library/fcntl.rst
View file @
2eb678ea
:mod:`fcntl` --- The :func:`fcntl` and :func:`ioctl` system calls
=================================================================
...
...
@@ -65,13 +64,13 @@ The module defines the following functions:
so long as the buffer you pass is as least as long as what the operating system
wants to put there, things should work.
If *mutate_flag* is true (the default), then the buffer is (in effect) passed
to the
underlying :func:`ioctl` system call, the latter's return code is passed back to
the calling Python, and the buffer's new contents reflect the action of
the
:func:`ioctl`. This is a slight simplification, because if the supplied buffer
is less than 1024 bytes long it is first copied into a static buffer 1024 bytes
long which is then passed to :func:`ioctl` and copied back into the supplied
buffer.
If *mutate_flag* is true (the default), then the buffer is (in effect) passed
to the underlying :func:`ioctl` system call, the latter's return code is
passed back to the calling Python, and the buffer's new contents reflect
the
action of the :func:`ioctl`. This is a slight simplification, because if the
supplied buffer is less than 1024 bytes long it is first copied into a static
buffer 1024 bytes long which is then passed to :func:`ioctl` and copied back
into the supplied
buffer.
An example::
...
...
Doc/library/filecmp.rst
View file @
2eb678ea
:mod:`filecmp` --- File and Directory Comparisons
=================================================
...
...
@@ -14,7 +13,7 @@ see also the :mod:`difflib` module.
The :mod:`filecmp` module defines the following functions:
.. function:: cmp(f1, f2
[, shallow]
)
.. function:: cmp(f1, f2
, shallow=True
)
Compare the files named *f1* and *f2*, returning ``True`` if they seem equal,
``False`` otherwise.
...
...
@@ -29,7 +28,7 @@ The :mod:`filecmp` module defines the following functions:
portability and efficiency.
.. function:: cmpfiles(dir1, dir2, common
[, shallow]
)
.. function:: cmpfiles(dir1, dir2, common
, shallow=True
)
Compare the files in the two directories *dir1* and *dir2* whose names are
given by *common*.
...
...
@@ -66,7 +65,7 @@ The :class:`dircmp` class
:class:`dircmp` instances are built using this constructor:
.. class:: dircmp(a, b
[, ignore[, hide]]
)
.. class:: dircmp(a, b
, ignore=None, hide=None
)
Construct a new directory comparison object, to compare the directories *a* and
*b*. *ignore* is a list of names to ignore, and defaults to ``['RCS', 'CVS',
...
...
@@ -159,5 +158,6 @@ The :class:`dircmp` class
.. attribute:: subdirs
A dictionary mapping names in :attr:`common_dirs` to :class:`dircmp` objects.
A dictionary mapping names in :attr:`common_dirs` to :class:`dircmp`
objects.
Doc/library/fileformats.rst
View file @
2eb678ea
.. _fileformats:
************
...
...
Doc/library/fileinput.rst
View file @
2eb678ea
...
...
@@ -47,7 +47,7 @@ provided by this module.
The following function is the primary interface of this module:
.. function:: input(
[files[, inplace[, backup[, mode[, openhook]]]]]
)
.. function:: input(
files=None, inplace=False, backup='', bufsize=0, mode='r', openhook=None
)
Create an instance of the :class:`FileInput` class. The instance will be used
as global state for the functions of this module, and is also returned to use
...
...
@@ -115,7 +115,7 @@ The class which implements the sequence behavior provided by the module is
available for subclassing as well:
.. class:: FileInput(
[files[, inplace[, backup[, mode[, openhook]]]]]
)
.. class:: FileInput(
files=None, inplace=False, backup='', bufsize=0, mode='r', openhook=None
)
Class :class:`FileInput` is the implementation; its methods :meth:`filename`,
:meth:`fileno`, :meth:`lineno`, :meth:`filelineno`, :meth:`isfirstline`,
...
...
Doc/library/filesys.rst
View file @
2eb678ea
.. _filesys:
*************************
...
...
Doc/library/fnmatch.rst
View file @
2eb678ea
:mod:`fnmatch` --- Unix filename pattern matching
=================================================
...
...
Doc/library/formatter.rst
View file @
2eb678ea
...
...
@@ -165,7 +165,7 @@ The following attributes are defined for formatter instance objects:
:const:`AS_IS` values, is passed to the writer's :meth:`new_styles` method.
.. method:: formatter.pop_style(
[n=1]
)
.. method:: formatter.pop_style(
n=1
)
Pop the last *n* style specifications passed to :meth:`push_style`. A tuple
representing the revised stack, including :const:`AS_IS` values, is passed to
...
...
@@ -177,7 +177,7 @@ The following attributes are defined for formatter instance objects:
Set the spacing style for the writer.
.. method:: formatter.assert_line_data(
[flag=1]
)
.. method:: formatter.assert_line_data(
flag=1
)
Inform the formatter that data has been added to the current paragraph
out-of-band. This should be used when the writer has been manipulated
...
...
@@ -194,7 +194,7 @@ Two implementations of formatter objects are provided by this module. Most
applications may use one of these classes without modification or subclassing.
.. class:: NullFormatter(
[writer]
)
.. class:: NullFormatter(
writer=None
)
A formatter which does nothing. If *writer* is omitted, a :class:`NullWriter`
instance is created. No methods of the writer are called by
...
...
@@ -337,7 +337,7 @@ this module. Most applications will need to derive new writer classes from the
output.
.. class:: DumbWriter(
[file[, maxcol=72]]
)
.. class:: DumbWriter(
file=None, maxcol=72
)
Simple writer class which writes output on the file object passed in as *file*
or, if *file* is omitted, on standard output. The output is simply word-wrapped
...
...
Doc/library/fpectl.rst
View file @
2eb678ea
:mod:`fpectl` --- Floating point exception control
==================================================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment