~kivy-team/kivy/master

« back to all changes in this revision

Viewing changes to kivy/interactive.py

  • Committer: GitHub
  • Author(s): dessant
  • Date: 2016-12-14 17:50:19 UTC
  • mfrom: (3773.4.12)
  • Revision ID: git-v1:cc9c5f91b3adf70be9b92c2013ed330e9aec4d63
Merge pull request #4795 from kivy/pep8_fixes

[WIP] Pep8 fixes of the current master

Show diffs side-by-side

added added

removed removed

Lines of Context:
215
215
    # methods that make calls against _ref and threadsafe whenever data will be
216
216
    # written to or if a method will be called. SafeMembrane instances should
217
217
    # be unwrapped whenever passing them into the thread
218
 
    #use type() to determine if an object is a SafeMembrane while debugging
 
218
    # use type() to determine if an object is a SafeMembrane while debugging
219
219
    def __repr__(self):
220
220
        return self._ref.__repr__()
221
221
 
322
322
 
323
323
    def run(self):
324
324
        self.thread.start()
325
 
        #Proxy behavior starts after this is set. Before this point, attaching
326
 
        #widgets etc can only be done through the Launcher's app attribute
 
325
        # Proxy behavior starts after this is set. Before this point, attaching
 
326
        # widgets etc can only be done through the Launcher's app attribute
327
327
        self._ref = self.app
328
328
 
329
329
    def stop(self):
330
330
        EventLoop.quit = True
331
331
        self.thread.join()
332
332
 
333
 
    #Act like the app instance even before _ref is set
 
333
    # Act like the app instance even before _ref is set
334
334
    def __repr__(self):
335
335
        return self.app.__repr__()