Remove trailing whitespace

This commit is contained in:
J. David Ibáñez 2013-05-24 23:08:08 +02:00
parent 7db21d132a
commit 5e9c429083
3 changed files with 8 additions and 8 deletions

View File

@ -129,7 +129,7 @@ them to the Git object database:
There are also some functions to calculate the oid for a byte string without
creating the blob object:
.. autofunction:: pygit2.hash
.. autofunction:: pygit2.hashfile

View File

@ -47,17 +47,17 @@ The Oid type
The constructor expects either a raw or a hex oid, but not both.
An Oid object is created from the hexadecimal form this way::
>>> from pygit2 import Oid
>>> hex = "cff3ceaefc955f0dbe1957017db181bc49913781"
>>> oid1 = Oid(hex=hex)
An Oid object is created from the raw form this way::
>>> from binascii import unhexlify
>>> from pygit2 import Oid
>>> raw = unhexlify("cff3ceaefc955f0dbe1957017db181bc49913781")
>>> oid2 = Oid(raw=raw)

View File

@ -137,8 +137,8 @@ clone_repository(PyObject *self, PyObject *args) {
const char *push_spec, *checkout_branch;
int err;
if (!PyArg_ParseTuple(args, "zzIzzzzz",
&url, &path, &bare, &remote_name, &push_url,
if (!PyArg_ParseTuple(args, "zzIzzzzz",
&url, &path, &bare, &remote_name, &push_url,
&fetch_spec, &push_spec, &checkout_branch))
return NULL;