示例#1
0
 def acc_path(acc, r):
     if not r.pattern:
         return acc
     return join(acc, r.pattern.pattern)
示例#2
0
 def __radd__(self, o):
     if o is None:
         return self
     return self.__class__(join(o.pattern, self.pattern))
示例#3
0
 def __radd__(self, o):
     if o is None:
         return self
     return self.__class__(join(o.pattern, self.pattern))
示例#4
0
 def __radd__(self, o):
     if o is None:
         return self
     return URLPattern(join(o.pattern, self.pattern))