mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Replace text_type() by str()
This commit is contained in:
@@ -919,7 +919,7 @@ class ASTFoldExpr(ASTBase):
|
||||
# type: (int) -> str
|
||||
assert version >= 3
|
||||
if version == 3:
|
||||
return text_type(self)
|
||||
return str(self)
|
||||
# https://github.com/itanium-cxx-abi/cxx-abi/pull/67
|
||||
res = []
|
||||
if self.leftExpr is None: # (... op expr)
|
||||
|
||||
Reference in New Issue
Block a user