parameters: (self)
return_statement: return "{0}{1}{2}/{3}".format(start, sections, end, str(self.file_pattern))
docstring: Implemented a function for __str__ and __repr__ to use, but
          which prevents infinite recursion when migrating to Python 3
docstring_summary: Implemented a function for __str__ and __repr__ to use, but
          which prevents infinite recursion when migrating to Python 3
docstring_tokens: Implemented a function for __str__ and __repr__ to use but which prevents infinite recursion when migrating to Python 3
function: def _to_string(self):
          """Implemented a function for __str__ and __repr__ to use, but
          which prevents infinite recursion when migrating to Python 3"""
          if self.sections:
              start    = "/" if self.bound_start else "**/"
              sections = "/**/".join(str(section) for section in self.sections)
              end      = "" if self.bound_end else "/**"
          else:
              start    = ""
              sections = ""
              end      = "" if self.bound_end else "**"
          return "{0}{1}{2}/{3}".format(start, sections, end, str(self.file_pattern))
function_tokens: def _to_string ( self ) : if self . sections : start = "/" if self . bound_start else "**/" sections = "/**/" . join ( str ( section ) for section in self . sections ) end = "" if self . bound_end else "/**" else : start = "" sections = "" end = "" if self . bound_end else "**" return "{0}{1}{2}/{3}" . format ( start , sections , end , str ( self . file_pattern ) )