#NEWLINE# def UploadDocument( self , media_source , title ) : #NEWLINE# #INDENT# 'Uploads a document inside of a MediaSource object to the Document List\n       feed with the given title.\n\n    Args:\n      media_source: MediaSource The gdata.MediaSource object containing a\n                    document file to be uploaded.\n      title: string The title of the document on the server after being\n             uploaded.\n\n    Returns:\n      A GDataEntry containing information about the document created on the\n      Google Documents service.\n    ' #NEWLINE# category = atom . Category ( scheme = DATA_KIND_SCHEME , term = DOCUMENT_KIND_TERM ) #NEWLINE# return self . _UploadFile ( media_source , title , self )