Blame kdevelop-python-documentation-files.patch

Minh Ngo 71447ad
# This patch must be needed because Fedora Package builder tries to compile all of python files
Minh Ngo 71447ad
# into byte codes. There are some syntax errors in these files, so the package building process
Minh Ngo 71447ad
# will be failed without this patch.
Minh Ngo 71447ad
--- documentation_files/__builtin_constants__.py	2012-11-25 11:03:33.000000000 +0200
Minh Ngo 71447ad
+++ documentation_files/__builtin_constants__.py	2012-12-02 13:31:01.041354577 +0200
Minh Ngo 71447ad
@@ -23,7 +23,7 @@ represent the absence of a value, as whe
Minh Ngo 71447ad
 function.
Minh Ngo 71447ad
 
Minh Ngo 71447ad
 """
Minh Ngo 71447ad
-None = None
Minh Ngo 71447ad
+None
Minh Ngo 71447ad
 """
Minh Ngo 71447ad
 Special value which can be returned by the "rich comparison" special methods
Minh Ngo 71447ad
 (:meth:`__eq__`, :meth:`__lt__`, and friends), to indicate that the comparison
Minh Ngo 71447ad
@@ -44,7 +44,7 @@ See also the :keyword:`assert` statement
Minh Ngo 71447ad
 
Minh Ngo 71447ad
 
Minh Ngo 71447ad
 """
Minh Ngo 71447ad
-__debug__ = None
Minh Ngo 71447ad
+__debug__ 
Minh Ngo 71447ad
 """exit([code=None])
Minh Ngo 71447ad
 
Minh Ngo 71447ad
 Objects that when printed, print a message like "Use quit() or Ctrl-D
Minh Ngo 71447ad
@@ -52,4 +52,4 @@ Objects that when printed, print a messa
Minh Ngo 71447ad
 specified exit code.
Minh Ngo 71447ad
 
Minh Ngo 71447ad
 """
Minh Ngo 71447ad
-quitcode=None = None
Minh Ngo 71447ad
+quitcode = None
Minh Ngo 71447ad
--- documentation_files/__builtin_types__.py	2012-11-25 11:03:33.000000000 +0200
Minh Ngo 71447ad
+++ documentation_files/__builtin_types__.py	2012-12-02 12:25:42.672213467 +0200
Minh Ngo 71447ad
@@ -44,7 +44,7 @@ class set:
Minh Ngo 71447ad
 		"""
Minh Ngo 71447ad
 		pass
Minh Ngo 71447ad
 		
Minh Ngo 71447ad
-	def set"other(self, ():
Minh Ngo 71447ad
+	def set(self, other):
Minh Ngo 71447ad
 		"""
Minh Ngo 71447ad
 		Test whether the set is a true subset of *other*, that is,
Minh Ngo 71447ad
 		``set <= other and set != other``.
Minh Ngo 71447ad
@@ -60,7 +60,7 @@ class set:
Minh Ngo 71447ad
 		"""
Minh Ngo 71447ad
 		pass
Minh Ngo 71447ad
 		
Minh Ngo 71447ad
-	def set"other(self, ():
Minh Ngo 71447ad
+	def set(self, other):
Minh Ngo 71447ad
 		"""
Minh Ngo 71447ad
 		Test whether the set is a true superset of *other*, that is, ``set >=
Minh Ngo 71447ad
 		other and set != other``.
Minh Ngo 71447ad
--- documentation_files/subprocess.py	2012-11-25 11:03:33.000000000 +0200
Minh Ngo 71447ad
+++ documentation_files/subprocess.py	2012-12-02 13:42:02.566662067 +0200
Minh Ngo 71447ad
@@ -484,7 +484,7 @@ def check_call(ls=None, _l=None):
Minh Ngo 71447ad
        """
Minh Ngo 71447ad
   pass
Minh Ngo 71447ad
 
Minh Ngo 71447ad
-def check_output(ls=None, _l=None, /dev/null=None):
Minh Ngo 71447ad
+def check_output(ls=None, _l=None, dev_null=None):
Minh Ngo 71447ad
   """ Run command with arguments and return its output as a byte string.
Minh Ngo 71447ad
   
Minh Ngo 71447ad
       If the exit code was non-zero it raises a CalledProcessError.  The