Commits

Antoine Pitrou committed bdec36b

s/NT/Windows/

Comments (0)

Files changed (2)

         return drv2 or drv, root, parts
 
 
-class _NTFlavour(_Flavour):
-    # Reference for NT paths can be found at
+class _WindowsFlavour(_Flavour):
+    # Reference for Windows paths can be found at
     # http://msdn.microsoft.com/en-us/library/aa365247%28v=vs.85%29.aspx
 
     sep = '\\'
         return 'file://' + urlquote_from_bytes(bpath)
 
 
-_nt_flavour = _NTFlavour()
+_windows_flavour = _WindowsFlavour()
 _posix_flavour = _PosixFlavour()
 
 
 
 
 class PureWindowsPath(PurePath):
-    _flavour = _nt_flavour
+    _flavour = _windows_flavour
     __slots__ = ()
 
 
 
 
 class NTFlavourTest(_BaseFlavourTest, unittest.TestCase):
-    flavour = pathlib._nt_flavour
+    flavour = pathlib._windows_flavour
 
     def test_parse_parts(self):
         check = self._check_parse_parts